This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Bug with let-values?
- From: "Dominique Boucher" <dominique dot boucher at nuecho dot com>
- To: "'Kawa List'" <kawa at sources dot redhat dot com>
- Date: Fri, 7 Oct 2005 14:16:58 -0400
- Subject: Bug with let-values?
- Reply-to: <dominique dot boucher at nuecho dot com>
Hi,
I think I found a bug w.r.t. let-values and the named-let form. If I enter
the following in the interpreter:
(let loop ()
(let-values (((x y z) (values 1 2 3)))
(loop)))
I get:
java.lang.NullPointerException
at
kawa.standard.call_with_values.callWithValues(call_with_values.java:12)
at atInteractiveLevel$44.loop(<stdin>:3)
at atInteractiveLevel$44.run(<stdin>:3)
at gnu.expr.ModuleExp.evalModule(ModuleExp.java:229)
at kawa.Shell.run(Shell.java:226)
at kawa.Shell.run(Shell.java:172)
at kawa.Shell.run(Shell.java:159)
at kawa.repl.main(repl.java:673)
However, if I move the call to 'loop' outside the let-values form,
everything is fine.
Note that this does not seem to be a bug specific to Kawa 1.8, I get the
same error with Kawa 1.7.91 and older versions.
Regards,
Dominique Boucher