On 05/28/2013 10:54 AM, monarch_dodra wrote:

> It's not a corner case. It's the spec.
>
> It's a "LabeledStatement" : "NoScopeStatement"
> http://dlang.org/statement.html#LabeledStatement

It is still a bug because NoScopeStatement does not mean "expand into current scope." It means "do not introduce a scope" and clearly allows blocked statements:

NoScopeStatement:
    ;
    NonEmptyStatement
    BlockStatement

  http://dlang.org/statement.html#NoScopeStatement

Ali

Reply via email to