Anonymous delegates cannot use automatic type deduction. For example: int f(int delegate(int) g) { return g(13); } void main() { f((auto x) { return x+13; }); } This fails to compile. Omitting the 'auto' also fails to compile.
This works now, due to the recent improvements in delegate literal inference and conversions. (dmd 2.058)