[Issue 199] Label causes scope to collapse into parent

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 29 06:27:46 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=199



--- Comment #16 from monarchdodra at gmail.com 2013-05-29 06:27:45 PDT ---
(In reply to comment #15)
> Walter Bright, comment #6:
> > I don't want to change this because it could break existing code
> 
> We could deprecate having a BlockStatement after a label, with a message
> suggesting to move the label within the block. That way no code gets broken.

Wait. What? Deprecate having a block statement after a label? Why would we do
that? That's completely arbitrary. Plus, that would *definitely* break more
code than what we'd break with a straight up fix.

This behavior was never according to spec anyways. I say we just fix it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list