http://d.puremagic.com/issues/show_bug.cgi?id=5985

           Summary: string enum fails with debugging enabled
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jesse.k.phillip...@gmail.com
                CC: jesse.k.phillip...@gmail.com


--- Comment #0 from Jesse Phillips <jesse.k.phillip...@gmail.com> 2011-05-11 
15:14:48 PDT ---
Compilation will fail if -g or -gc is used:

break.d(2): Error: Integer constant expression expected instead of "one"
break.d(2): Error: Integer constant expression expected instead of "one"

enum Test : string {
    one = "one"
}
void main() {
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to