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

           Summary: Compiling typed named enum with -g switch yelds an
                    error.
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: kajetan.rzepecki+purema...@gmail.com


--- Comment #0 from Kajtek <kajetan.rzepecki+purema...@gmail.com> 2011-07-14 
05:55:54 PDT ---
Tested with DMD 2.054 on Win32. Didn't happen in DMD 2.053.

enum : string {        //OK
      A = "A",
}
enum Enum : string {
     B = "B",           //Error: Integer constant expression expected instead
of "B".
}
void main() {}

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

Reply via email to