August 17, 2009 [Issue 3255] New: final switch broken with -w switch | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3255 Summary: final switch broken with -w switch Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: jeremiep@gmail.com When using DMD with the -w switch for warnings, a final switch will output a warning: "warning: Error: switch statement has no default" if a default is added, it turns to an error "Error: default statement not allowed in final switch statement" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 03, 2009 [Issue 3255] final switch broken with -w switch | ||||
---|---|---|---|---|
| ||||
Posted in reply to jeremiep@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=3255 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2009-09-03 13:45:22 PDT --- Fixed dmd 2.032 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation