[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #4881] lambda expr within define-simple-class
From: |
nobody |
Subject: |
[Bug-kawa] [bug #4881] lambda expr within define-simple-class |
Date: |
Sat, 01 Nov 2003 02:00:14 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030827 |
=================== BUG #4881: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4881&group_id=145
Changes by: Per Bothner <address@hidden>
Date: Sat 11/01/2003 at 07:00 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Category | None | Scheme larguage
Severity | 5 - Major | 3
Bug Group | None | Compile-time exception
Assigned to | None | bothner
=================== BUG #4881: FULL BUG SNAPSHOT ===================
Submitted by: ctdean Project: Kawa
Submitted on: Thu 08/21/2003 at 19:28
Category: Scheme larguage Severity: 3
Bug Group: Compile-time exception Resolution: None
Assigned to: bothner Status: Open
Summary: lambda expr within define-simple-class
Original Submission: The attached file generates a NPE when compiled:
java.lang.NullPointerException
at gnu.expr.LambdaExp.allocChildClasses(LambdaExp.java:936)
at gnu.expr.ClassExp.compile(ClassExp.java:372)
Follow-up Comments
*******************
-------------------------------------------------------
Date: Fri 08/22/2003 at 16:29 By: ctdean
We do have a workaround now, thanks. The actual code uses filter-map and a
lambda (instead of returning the lambda expression). By "unrolling" this to
(filter ... (map ...)) the code compiles fine - presumably because map is
cleverly optimizing the lambda exp and inlining the code.
-------------------------------------------------------
Date: Fri 08/22/2003 at 06:11 By: bothner
I've reproduced the problem, but it doesn't look like
a simple fix. (I'm guessing multiple fixes are needed.)
How urgent in this for you? Do you have a work-around?
CC list is empty
File Attachments
****************
-------------------------------------------------------
Date: Thu 08/21/2003 at 19:28 Name: Foo.scm Size: 0KB By: ctdean
http://savannah.gnu.org/bugs/download.php?group_id=145&bug_id=4881&bug_file_id=612
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=4881&group_id=145
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-kawa] [bug #4881] lambda expr within define-simple-class,
nobody <=