[Issue 2806] New: enum member cannot be forward referenced

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 6 04:58:15 PDT 2009


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

           Summary: enum member cannot be forward referenced
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: maxmo at pochta.ru
OtherBugsDependingO 340
             nThis:


---
enum
{
  a=b, //Error: undefined identifier b
  b=0
}
---
may be related to bug 1484 and bug 1160.


-- 



More information about the Digitalmars-d-bugs mailing list