This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: a couple more bugs
- To: Doug Orleans <dougo at ccs dot neu dot edu>
- Subject: Re: a couple more bugs
- From: Per Bothner <per at bothner dot com>
- Date: 23 Mar 2001 12:32:04 -0800
- Cc: kawa at sourceware dot cygnus dot com
- References: <15034.60971.638935.816703@vega.ccs.neu.edu>
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/