https://issues.dlang.org/show_bug.cgi?id=13451
Jakob Ovrum <jakobov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakobov...@gmail.com --- Comment #3 from Jakob Ovrum <jakobov...@gmail.com> --- (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. --