This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
RE: Bug with let-values?
- From: "Dominique Boucher" <dominique dot boucher at nuecho dot com>
- To: "'Per Bothner'" <per at bothner dot com>
- Cc: "'Kawa List'" <kawa at sources dot redhat dot com>
- Date: Thu, 20 Oct 2005 10:19:31 -0400
- Subject: RE: Bug with let-values?
- Reply-to: <dominique dot boucher at nuecho dot com>
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/
>