"for" statement issue

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 21 07:43:46 PDT 2016


On 10/21/2016 09:42 AM, Adam D. Ruppe wrote:
> I think deprecating `{ lambda }` is really the way to go.

Another possibility is to disallow an ExpressionStatement that consists 
solely of a lambda. There is precedent for that, e.g. the statement "1 + 
1;" is disallowed. -- Andrei



More information about the Digitalmars-d mailing list