On 12/27/2011 10:53 PM, Alex Rønne Petersen wrote:
On 27-12-2011 21:32, Jacob Carlborg wrote:
On 2011-12-27 05:25, Andrei Alexandrescu wrote:
https://github.com/D-Programming-Language/dmd/commit/675898721c04d0bf155a85abf986eae99c37c0dc
Andrei
Now that's very cool. Does it work for non-template arguments as well.
Nope. When passing such lambdas as regular arguments, there's no inference.
- Alex
... yet.
http://d.puremagic.com/issues/show_bug.cgi?id=6714
Anyway, his question seemed to be about whether or not the '=>' syntax
can be used for ordinary delegate literals, which it can: (int x) => x