Push 23 August 1bb5b46bb326 fixes one bug, but introduces another
Howard Lovatt
howard.lovatt at gmail.com
Tue Aug 24 01:24:08 PDT 2010
Forgot to mention, bug in:
il.forEach( #( i ) { 2 * i } ); // No exception; no try block -
has syntax error
Also fixed, but as before now has to be in try block
On 24 August 2010 18:07, Howard Lovatt <howard.lovatt at gmail.com> wrote:
> Hi Maurizio,
>
> il.forEach( #( i ) {
> if ( i < 3 ) { throw new Exception(); }
> return i * i;
> } ); // Need to catch the checked exception!
>
> Now needs a try block (as it should), but
>
> il.forEach( #( i ) { return 2 * i; } ); // No exception, no try block
>
> Also needs one and it shouldn't!
>
> I for one really appreciate all your hard work on this.
>
> -- Howard.
>
--
-- Howard.
More information about the lambda-dev
mailing list