This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
compile error
- From: Vladimir Tsichevski <wowa1 at online dot ru>
- To: kawa at sources dot redhat dot com
- Date: Tue, 18 Mar 2003 00:46:37 +0300
- Subject: compile error
- Organization: Jet
- Reply-to: wowa1 at online dot ru
Hi,
this function does not compile with kawa:
(define (my-func)
(object
()
(any-field
init-value:
(object ()
((any-method) (any-function)))
)))
following is the compiler stack trace
wowa at src$ kawa -C bug.scm
(compiling bug.scm)
java.lang.NullPointerException
at gnu.bytecode.CodeAttr.emitLoad(CodeAttr.java:1046)
at gnu.expr.ObjectExp.compile(ObjectExp.java:32)
at gnu.expr.Expression.compile(Expression.java:92)
at gnu.expr.SetExp.compile(SetExp.java:252)
at gnu.expr.Expression.compileWithPosition(Expression.java:72)
at gnu.expr.BeginExp.compile(BeginExp.java:79)
at gnu.expr.Expression.compileWithPosition(Expression.java:72)
...
Note: If `any-function' is defined in the same module as `my-func',
compilation completes with no errors.
Regards,
Vladimir