This is the mail archive of the kawa@sources.redhat.com 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]

Re: a couple more bugs


Doug Orleans <dougo@ccs.neu.edu> writes:

> Mutating a "rest" argument gives a warning:
> 
> #|kawa:7|# (define (f . args) (set! args #f) args)
> <stdin>:7:21: warning - cannot convert literal (of type java.lang.Boolean) to gnu.kawa.util.LList

That can be fixed by separating the incoming parameter from
the variable.  I don't know when I'll get around to it, though.

> But this crashes Kawa:
> 
> #|kawa:2|# (define-syntax foo (transformer (lambda () #f)))
> Exception in thread "main" java.lang.ClassFormatError: atInteractiveLevel (Illegal constant pool index)

Don't offhand know why.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/


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