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: nob...@puremagic.com
        ReportedBy: jerem...@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: -------

Reply via email to