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:50:53 PDT 2010


Le 29/05/2010 23:11, Rémi Forax a écrit :
>    
>>> // 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
>    
   I mean, it's *not* 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