[Issue 199] (D1 only) Label causes scope to collapse into parent

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 29 05:34:40 PDT 2014


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

--- Comment #41 from Stewart Gordon <smjg at iname.com> ---
(In reply to monarchdodra from comment #40)
> LabeledStatement:
>     Identifier :
>     Identifier : NoScopeStatement
>     Identifier : Statement
> 
> I believe this should be s/NoScopeStatement/ScopeBlockStatement/ ?

At the moment, it's completely ambiguous, because a ScopeBlockStatement is
already a kind of Statement.

As such,
    Identifier : NoScopeStatement
should just be removed.

--


More information about the Digitalmars-d-bugs mailing list