transparent lambda
    Stefan Schulz 
    schulz at the-loom.de
       
    Tue Dec 29 14:49:48 PST 2009
    
    
  
On 29.12.2009 23:45, Neal Gafter wrote:
> On Tue, Dec 29, 2009 at 2:28 PM, Stefan Schulz <schulz at the-loom.de
> <mailto:schulz at the-loom.de>> wrote:
>
>     The example does not define a lambda label conflicting with a normal
>     label. I was refering to the "may return from the enclosing method"
>     using the method's name as label idea.
>
>
> I expect if we also allowed breaking from a method, we would not allow a
> lambda label to conflict with the enclosing method's name.
In the example the conflict is a "normal" label having the same name as 
the enclosing method, which, by now, is legal in Java. The question is, 
whether break within a lambda may refer to a "normal" label.
Stefan
    
    
More information about the closures-dev
mailing list