www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2806] New: enum member cannot be forward referenced

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 digitalmars.com
        ReportedBy: maxmo pochta.ru
OtherBugsDependingO 340
             nThis:


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


-- 
Apr 06 2009