This is the mail archive of the kawa@sourceware.org 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] |
(define-class FailClass () (x ::float access: 'private init: 0.0)
((wrap-x) (lambda () x))
((calculate-position) (letrec ( (wrap-func (lambda () (wrap-x))) ) (wrap-func))))
For both Kawa 1.12.1 (revision 7282) and Kawa 1.12 release i got this traceback: [imdagger@blacktears]$ java -jar /home/imdagger/kawa/kawa/kawa-1.12.1.jar -C test.scm (compiling test.scm to test) test.scm:4: internal error while compiling test.scm java.lang.NullPointerException at gnu.expr.LambdaExp.setCallersNeedStaticLink(LambdaExp.java:209)
This is related to using define-class rather than define-simple-class; the manual discusses the difference: http://www.gnu.org/software/kawa/Defining-new-classes.html -- --Per Bothner per@bothner.com http://per.bothner.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |