Issue 2806 - enum member cannot be forward referenced
Summary: enum member cannot be forward referenced
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks: 340
  Show dependency treegraph
 
Reported: 2009-04-06 06:58 UTC by anonymous4
Modified: 2015-06-09 01:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description anonymous4 2009-04-06 06:58:20 UTC
---
enum
{
  a=b, //Error: undefined identifier b
  b=0
}
---
may be related to bug 1484 and bug 1160.
Comment 1 Kenji Hara 2013-11-22 02:14:00 UTC
Fixed from 2.063, and properly documented in 2.064 (issue 11130).