lambda/lambda/langtools: initial lambda push; the current prototype suuports the following features:
Rémi Forax
forax at univ-mlv.fr
Sat May 29 14:11:56 PDT 2010
>> // this snippet generate invalid code (at bytecode offset 4)
>> int v = #(Object o) {
>> System.out.println(this.type());
>> return 3;
>> }.("foo");
>
> the .type() syntax is not supported yet, hence the bad bytecode.
Not sure, it's the only problem
System.out.println(#() (this.toString()).());
and
System.out.println(#() (toString()).());
also produces ill formed bytecode.
>
> Thanks for the headsup!
>
> Maurizio
Rémi
More information about the lambda-dev
mailing list