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

yebblies <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|ExpressionStatement         |Parse block statement
                   |incorrectly parsed as       |followed by ';' as a
                   |BlockStatement              |function literal
           Severity|normal                      |enhancement

--- Comment #4 from yebblies <[email protected]> ---
AFAIK this is intentional.  If this context is ambiguous, it will be parsed as
a block statement.  You will probably want to make this a spec bug, but I'll
leave that to you.

--

Reply via email to