[Issue 14378] ExpressionStatement incorrectly parsed as BlockStatement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 30 20:53:46 PDT 2015


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

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
i believe that delegates must have parameter declaration before body.

what we got here is block statement followed by empty statement (";"). so
compiler can cry about the last if it wants, but not about delegate.

--


More information about the Digitalmars-d-bugs mailing list