https://issues.dlang.org/show_bug.cgi?id=14378

--- Comment #2 from [email protected] ---
http://dlang.org/grammar.html#FunctionLiteralBody

Function literals do not require parameter lists.

It's perfectly valid to parse the example code as a function literal.

--

Reply via email to