NoScopeStatement violates C compatibility principal.
Ali Çehreli
acehreli at yahoo.com
Tue May 28 11:12:25 PDT 2013
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
More information about the Digitalmars-d
mailing list