hg: lambda/lambda/langtools: Bug fixes

Ali Ebrahimi ali.ebrahimi1781 at gmail.com
Fri Sep 3 23:21:43 PDT 2010


Hi Maurizio,
In Howard's sample code:

il.forEach( #( notUsed ) { 0 } ); // OK

il.forEach( #( notUsed ) { return 0; } ); // OK

il.forEach( #( notUsed ) {  } ); // OK


But:

il.forEach( #( notUsed ) { return notUsed + 0; } ); // Need to catch
the checked exception!

il.forEach( #( notUsed ) { notUsed + 0; } ); // Need to catch the
checked exception!

il.forEach( #( notUsed ) { int j=0; return 0; } ); // Need to catch
the checked exception!


Best Regards,

Ali Ebrahimi


More information about the lambda-dev mailing list