On 02.05.2016 19:31, Adam D. Ruppe wrote:
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.

I don't think { ... } as shorthand for (){ ... } is necessary or particularly useful in the first place.

Reply via email to