Bug with let-values?
Dominique Boucher
dominique.boucher@nuecho.com
Thu Oct 20 14:19:00 GMT 2005
Great! Thanks a lot!!
I will soon update my Scheme plugin to include the latest and official Kawa
1.8.
Dominique
> Dominique Boucher wrote:
> > I don't know if this is related, but I got a similar problem with a
> > combination of let-values/syntax-case/with-syntax/syntax
> (I'm currently
> > doing a bit of complex macrology...):
> >
> > (define-syntax test-syntax
> > (lambda (stx)
> > (syntax-case stx ()
> > ((_ args ...)
> > (let-values (((x y) (foo (syntax (args ...)))))
> > (with-syntax ((v x) (w y))
> > (syntax
> > (begin (v) (w)))))))))
> >
> >
> > When I evaluate that form, I get:
> >
> > <stdin>:3:3: internal compile error - caught
> java.lang.NullPointerException
>
> I just reimplemented case-lambda (to translate into make-procedure),
> and I used a nested syntax-case and ran into the same problem.
> I just checked in a fix.
>
> Sorry I didn't fix this for the 1.8 release.
> --
> --Per Bothner
> per@bothner.com http://per.bothner.com/
>
More information about the Kawa
mailing list