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: GSOC | Extending Common Lisp support


On 25 April 2012 00:02, Per Bothner <per@bothner.com> wrote:
> It's worse than that - you're reusing the *same* Declaration in
> both the outer scope and the new LetExp. ÂNo wonder the compiler
> is getting confused ...
>
> You need to create a new Declaration. ÂFor example:
>
> ÂletVariable(decl.getSymbol(), ref);

Whoops, thanks Per. After several more mistakes torturing the
compiler, I think I've got the scoping for DECLARE working now. The
code needs cleaning up, and there still a couple bugs (logic errors,
nothing that seems difficult to fix).

Sidenote: I'm having trouble logging into Savannah, but I noticed this
buglet today:

#|kawa:1|# (zero? (define-simple-class))
java.lang.NullPointerException
	at kawa.standard.define_class.rewriteForm(define_class.java:122)
...

I've made a note to look into it at some point in the future, but
NullPointerExceptions aren't good, so maybe if anyone else has time,
they could look at why that's happening.

I am truly, truly sorry for these hideous use cases.

Cordially,
Charlie.


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