[Issue 14378] ExpressionStatement incorrectly parsed as BlockStatement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 30 22:18:59 PDT 2015


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

--- Comment #3 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
ahem. so it's a bug in specs, i believe, 'cause it's very hard to distinguish
block statements from function literals with the current definition, and it's
not intuitive at all.

thank you, i somehow missed that thing in specs. making semicolon the only
difference is puzzling for programmer.

would you mind to open a topic in NG for this? i believe that in this case
specs must be fixed, not compiler.

--


More information about the Digitalmars-d-bugs mailing list