This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions about #!key arguments


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]