effect of a label on following block
Nick Voronin
elfy.nv at gmail.com
Tue Nov 16 07:11:16 PST 2010
On Mon, 15 Nov 2010 19:34:46 +0300, Ellery Newcomer
<ellery-newcomer at utulsa.edu> wrote:
> My gut feeling is that the if statement's behavior is wrong and the
> while statement's is correct, but it could go either way.
I agree, I think case with 'when' works as specs say.
> No need for a rationale for what can be adequately explained as a
> compiler bug
There is still correct but unexpected behaviour. I found this on bugtracker
http://d.puremagic.com/issues/show_bug.cgi?id=199
The rationale was "I don't want to change this because it could break
existing code,
and there doesn't seem to be a compelling reason to do so." Well. :(
> Please to report to bugzilla
I'll report about if/while inconsistency.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Digitalmars-d-learn
mailing list