effect of a label on following block

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Nov 15 08:34:46 PST 2010


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.

No need for a rationale for what can be adequately explained as a 
compiler bug (this is a downside of dmd - it trains you to think like 
this) It is curious, though, as it looks like both bodies get parsed the 
same way. Not sure what's going on.

Please to report to bugzilla


More information about the Digitalmars-d-learn mailing list