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

           Summary: Initializers inside named enum declarations cannot
                    forward reference other members
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-07-03 09:48:00 PDT ---
DMD 2.063/git head:

enum X {foo=0, bar=foo} // ok
enum Y {foo=bar, bar=0} // error

Both lines should compile.

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

Reply via email to