catch statement inside a new class don't compile
Chris Dean
Chris.Dean@sokitomi.com
Tue Apr 1 18:47:00 GMT 2003
This is certainly a bug (NullPointerExceptions should never happen), but
if you're searching for a workaround, these work:
(define foo-1
(lambda (y)
(+ 1 y)))
(define (foo-2)
(let ((x 1))
(lambda (y)
(+ x y))))
(define foo-3 (foo-2))
Regards,
Chris Dean
Wen-Chun Ni <wcn@tbcommerce.com> wrote:
> Looks like I've got the same thing even in a simple case like
>
> (define foo
> (let ((x 1))
> (lambda (y)
> (+ x y))))
>
>
> It shows the same stacktrace when compiled with --module-static.
More information about the Kawa
mailing list