http://d.puremagic.com/issues/show_bug.cgi?id=4100
--- Comment #2 from Jerry Quinn <[email protected]> 2010-04-17 13:27:29 PDT --- (In reply to comment #1) > (In reply to comment #0) > > Both break and continue can branch to a label, but the text only mentions > > for, > > while, and do loops. Foreach loops should also be included. Dmd supports > > it. > > It's mentioned just above the switch statement The text for ContinueStatement is: If continue is followed by Identifier, the Identifier must be the label of an enclosing while, for, or do loop, and the next iteration of that loop is executed. It is an error if there is no such statement. It doesn't mention foreach and it should. Ditto with BreakStatement. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
