bug-kawa
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-kawa] [bugs #11030] npe compiling when form


From: Per Bothner
Subject: [Bug-kawa] [bugs #11030] npe compiling when form
Date: Tue, 16 Nov 2004 17:30:26 -0500
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803

This mail is an automated notification from the bugs tracker
 of the project: Kawa.

/**************************************************************************/
[bugs #11030] Latest Modifications:

Changes by: 
                Per Bothner <address@hidden>
'Date: 
                Tue 11/16/2004 at 22:24 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | bothner


------------------ Additional Follow-up Comments ----------------------------
Thanks for the bug report.
I checked in a fix (to gnu.expr.InlineCalls).
(I'm curious how recent changes can affect this,
but it doesn't matter - it should work now.)






/**************************************************************************/
[bugs #11030] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11030>
Project: Kawa
Submitted by: tk
On: Tue 11/16/2004 at 21:18

Category:  Scheme library
Severity:  5 - Average
Item Group:  Compile-time exception
Resolution:  Fixed
Privacy:  Public
Assigned to:  bothner
Status:  Open


Summary:  npe compiling when form

Original Submission:  recent syntax-case changes have broken the 
following case (in cvs version as of 11/16/04

(define (foo)
  (when #f
    (+ 1 1)))

compiling this results in 

#|kawa:1|# (compile-file "foo.scm" "foo.zip")
java.lang.NullPointerException
        at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1429)
        at gnu.expr.LambdaExp.compileAsMethod(LambdaExp.java:1412)
        at gnu.expr.LambdaExp.compileSetField(LambdaExp.java:571)
        at gnu.expr.SetExp.compile(SetExp.java:150)
        at gnu.expr.Expression.compileNotePosition(Expression.java:98)
        at gnu.expr.Expression.compileWithPosition(Expression.java:84)
        at gnu.expr.LambdaExp.compileBody(LambdaExp.java:1429)
        at gnu.expr.Compilation.addClass(Compilation.java:1892)
        at gnu.expr.Compilation.compile(Compilation.java:917)
        at gnu.expr.Compilation.compileToArchive(Compilation.java:988)
        at kawa.lib.system.compileFile(system.scm:85)
        at kawa.lib.system.apply2(system.scm:76)
        at gnu.expr.ModuleMethod.apply2(ModuleMethod.java:189)
        at gnu.expr.ModuleMethod.apply(ModuleMethod.java:157)
        at gnu.mapping.CallContext.runUntilDone(CallContext.java:240)
        at gnu.expr.ModuleExp.evalModule(ModuleExp.java:194)
        at kawa.Shell.run(Shell.java:231)
        at kawa.Shell.run(Shell.java:177)
        at kawa.Shell.run(Shell.java:164)
        at kawa.Shell.run(Shell.java:151)
        at kawa.repl.main(repl.java:670)


Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 11/16/2004 at 22:24       By: Per Bothner <bothner>
Thanks for the bug report.
I checked in a fix (to gnu.expr.InlineCalls).
(I'm curious how recent changes can affect this,
but it doesn't matter - it should work now.)












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11030>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]