[Issue 199] Label causes scope to collapse into parent
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 5 05:22:07 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=199
smjg at iname.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |smjg at iname.com
------- Comment #5 from smjg at iname.com 2007-04-05 07:22 -------
On the basis of what you say, the compiler is behaving according to the spec,
which states
http://www.digitalmars.com/d/statement.html#LabeledStatement
LabelledStatement:
Identifier ':' NoScopeStatement
I'd noticed it before. But since this bit of the spec is presumably not what
was intended, I'm leaving this issue open. If there's any temptation to hit
the INVALID button, it should be changed to an enhancement request instead.
--
More information about the Digitalmars-d-bugs
mailing list