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

Jakob Ovrum <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Jakob Ovrum <[email protected]> ---
(In reply to hsteoh from comment #1)
> I had no idea this syntax was supported. Is it intentional, or is it an
> oversight in the implementation?

It's a hold-over from the other function literal syntax:

auto fp = function int(int a) { return a; };

It's just as useful whether it's using lambdas or the old syntax, so I suggest
we reconcile the grammar with DMD in this case.

--

Reply via email to