Questions about #!key arguments

Per Bothner per@bothner.com
Fri Nov 4 04:16:00 GMT 2011


On 11/03/2011 01:09 PM, Taylor Venable wrote:
> Does this go similarly for the #!rest argument in Java methods? The
> reason I ask is that neither of the following seem to work (or maybe I'm
> just getting into parts of the system under active development, using
> trunk r7079):
>
> (define-simple-class bar ()
> ((asdf a #!rest b)
> (format #t "b=~a~%" b)))

foo.scm:2:3: caught exception in inline-compiler for #<procedure 
gnu.kawa.functions.AppendValues> - java.lang.NullPointerException
     gnu.expr.LambdaExp.enterFunction(LambdaExp.java:1440)

Nah, that's just a bug - due to insufficient testing.

I checked in a fix and a testcase.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/



More information about the Kawa mailing list