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]

compilation error: define-simple-class


Hi,

here is another one failed compilation :-(

bash-2.05a$ cat Test.scm

(define-simple-class Test1 ()
  ((getChildren) :: <java.util.Vector>
   (make <java.util.Vector>)
   )

 ((children) :: <java.util.Enumeration>
  (invoke (getChildren) 'elements)
  )
 )
bash-2.05a$ kawa -C Test.scm
(compiling Test.scm)
java.lang.NullPointerException
   at gnu.bytecode.CodeAttr.emitLoad(CodeAttr.java:1046)
   at gnu.expr.LambdaExp.loadHeapFrame(LambdaExp.java:427)
   at gnu.expr.ApplyExp.compile(ApplyExp.java:193)
   at gnu.expr.ApplyExp.compile(ApplyExp.java:107)
   at gnu.expr.Expression.compileNotePosition(Expression.java:82)
   at gnu.expr.PrimProcedure.compileArgs(PrimProcedure.java:290)
   at gnu.expr.PrimProcedure.compile(PrimProcedure.java:319)
   at gnu.expr.PrimProcedure.compile(PrimProcedure.java:313)



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