http://d.puremagic.com/issues/show_bug.cgi?id=952
Stewart Gordon <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from Stewart Gordon <[email protected]> 2013-02-17 17:29:31 PST --- This bug is about warning messages _generally_, not just this particular one. And a new instance has cropped up: ----- switch_fallthrough_b.d ----- void main() { char c = 'x'; switch(c) { case 'U', 'u' : c = 'q'; case 'L', 'l' : c = 'r'; // code . . . default: } } ---------- C:\Users\Stewart\Documents\Programming\D\Tests>dmd switch_fallthrough_b.d C:\Users\Stewart\Documents\Programming\D\Tests>dmd -w switch_fallthrough_b.d switch_fallthrough_b.d(6): Error: switch case fallthrough - use 'goto case;' if intended switch_fallthrough_b.d(9): Error: switch case fallthrough - use 'goto default;' if intended ---------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
