Discrete semantics of lambda expressions

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Mon May 2 10:31:07 PDT 2016


On Monday, 2 May 2016 at 15:52:34 UTC, Xinok wrote:
> I'm proposing that we add a warning to the compiler for this 
> particular case. If the programmer intended to return a lambda, 
> then rewrite the expression as one of:

I agree, forcing people to rewrite it is a good idea.


More information about the Digitalmars-d mailing list