← Back to index
|
Original Bugzilla link
Bug 3255 – final switch broken with -w switch
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2009-08-17T09:30:00Z
Last change time
2015-06-09T05:15:23Z
Assigned to
nobody
Creator
jeremiep
Comments
Comment #0
by jeremiep — 2009-08-17T09:30:48Z
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"
Comment #1
by bugzilla — 2009-09-03T13:45:22Z
Fixed dmd 2.032