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

           Summary: non-int enum values cause error when compiled with -g
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: simen.kja...@gmail.com


--- Comment #0 from Simen Kjaeraas <simen.kja...@gmail.com> 2012-07-26 10:46:52 
PDT ---
This code:

enum a : string{a = ""}

Leads to this error when compiled with dmd -g foo:

foo.d(1): Error: Integer constant expression expected instead of ""
foo.d(1): Error: Integer constant expression expected instead of ""

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

Reply via email to