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

--- Comment #3 from [email protected] ---
The grammar also states that function literals can have contracts by using the
FunctionBody rule, but the compiler rejects this:

void function() f = in { assert(true); } body { writeln("hello world"); }

--

Reply via email to