[Issue 199] Label causes scope to collapse into parent
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 29 13:57:54 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=199
--- Comment #23 from Stewart Gordon <smjg at iname.com> 2013-05-29 13:57:52 PDT ---
(In reply to comment #22)
> Hum. OK. I see how that makes sense. One of the things that trips
> me up though is that D created the possibility to label a block but
> doesn't do anything with it.
The possibility to label a block is natural, because a block is a kind of
statement. What's odd is that adding a label alone turns it into a scopeless
block.
> To be honest, the way I had first understood labeling blocks was being able to
> do this:
> http://d.puremagic.com/issues/show_bug.cgi?id=8622
I agree, that should work. But the way it is at the moment, people who try it
are likely to be bitten by bug 827.
--
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