Closures for Java (0.6) specification part b

Neal Gafter neal at
Mon Dec 14 11:22:42 PST 2009

That's not the case.  In a statement lambda, all three are local.  In an
expression lambda, they are nonlocal.


On Mon, Dec 14, 2009 at 11:20 AM, Jonathan Gibbons <Jonathan.Gibbons at
> wrote:

> Neal,
> As much as I like control flow abstraction, it seems that your proposal
> 0.6b leaves us in a half-way house with respect to control flow keywords.
> Using the 'for' modifier, 'break' and 'continue' get to work as expected,
> but it would appear that 'return' is still local to the lambda function,
> which is mildly icky.  Have you considered this issue?
> -- Jon
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the closures-dev mailing list