This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

catch statement inside a new class don't compile


Hi,

compilation of this statement:

(define-simple-class Test ()
 (children)

 ((children)
  (catch #t (lambda() children)(lambda args '()))
  )
 )

results in the following error:

java.lang.NullPointerException
   at gnu.expr.LambdaExp.allocChildClasses(LambdaExp.java:918)
   at gnu.expr.ClassExp.compile(ClassExp.java:366)
   at gnu.expr.ClassExp.compile(ClassExp.java:56)
   at gnu.expr.ClassInitializer.emit(ClassInitializer.java:35)
   at gnu.expr.Compilation.dumpInitializers(Compilation.java:462)
   at gnu.expr.Compilation.addClass(Compilation.java:1542)
   at gnu.expr.Compilation.compile(Compilation.java:790)
   at gnu.expr.Compilation.compileToFiles(Compilation.java:837)
   at kawa.lang.CompileFile.compile_to_files(CompileFile.java:92)
   at kawa.repl.processArgs(repl.java:390)
   at kawa.repl.main(repl.java:594)

Regards,
Vladimir



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]