bug-kawa
[Top][All Lists]
Advanced

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

[Bug-kawa] [bugs #9010] compilation of define-alias form causes NPE


From: Per Bothner
Subject: [Bug-kawa] [bugs #9010] compilation of define-alias form causes NPE
Date: Wed, 19 May 2004 20:27:27 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113

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

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

Changes by: 
                Per Bothner <address@hidden>
'Date: 
                Thu 05/20/04 at 00:26 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | bothner
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
Thanks for reporting this.  I checked in a patch.






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

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9010>
Project: Kawa
Submitted by: 0
On: Wed 05/19/04 at 16:29

Category:  Code generation
Severity:  5 - Average
Item Group:  Compile-time exception
Resolution:  Fixed
Assigned to:  bothner
Status:  Closed


Summary:  compilation of define-alias form causes NPE

Original Submission:  in latest CVS version (5/19/2004), 
compilation of define-alias form causes following exception

$ cat foo.scm
(define-alias foo bar)
$ java -jar kawa.jar -C foo.scm
(compiling foo.scm)
Internal error while compiling foo.scm
java.lang.NullPointerException
        at gnu.expr.LambdaExp.loadHeapFrame(LambdaExp.java:462)
        at gnu.expr.Declaration.loadOwningObject(Declaration.java:109)
        at gnu.expr.Declaration.load(Declaration.java:119)
        at gnu.expr.ReferenceExp.compile(ReferenceExp.java:118)
        at gnu.expr.Expression.compile(Expression.java:108)
        at gnu.expr.BindingInitializer.emit(BindingInitializer.java:57)
        at gnu.expr.Compilation.generateConstructor(Compilation.java:1132)
        at gnu.expr.LambdaExp.compileEnd(LambdaExp.java:498)
        at gnu.expr.Compilation.addClass(Compilation.java:1716)
        at gnu.expr.Compilation.compile(Compilation.java:913)
        at gnu.expr.Compilation.compileToFiles(Compilation.java:960)
        at kawa.lang.CompileFile.compile_to_files(CompileFile.java:92)
        at kawa.repl.processArgs(repl.java:389)
        at kawa.repl.main(repl.java:634)


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


-------------------------------------------------------
Date: Thu 05/20/04 at 00:26         By: bothner
Thanks for reporting this.  I checked in a patch.












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

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







reply via email to

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