This is accepts-valid behavior.function(parameters) => exprmeans the combination of:1. specifying "context pointer is not necessary"2. lambda syntax "(parameters) => expr"I think website documentation has a bug.Kenji Hara2013/7/10 Brian Schott <briancschott@gmail.com>While finishing up work on my parser and grammar specification I found this in container.d:
return equal!(function(Elem a, Elem b) => !_less(a,b) && !_less(b,a))
(thisRange, thatRange);
It seems to be some strange hybrid of the function literal syntax and the lambda syntax. It's not documented anywhere (surprise!) and I'm not sure if I should support it or file an accepts-invalid bug against DMD.