[Issue 3723] New: Regression: forward referenced enum
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 19 08:44:59 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3723
Summary: Regression: forward referenced enum
Product: D
Version: 1.054
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: regression
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at yahoo.com.au> 2010-01-19 08:44:58 PST ---
This code worked on 1.053, fails to compile on 1.054, and on D2.
I suspect this was caused by the fix to bug 3611.
-----
FwdEnum this_fails;
enum :int
{
E1 = 2
}
enum FwdEnum: int
{
E2 = E1
}
-----
bug.d(10): Error: undefined identifier E1
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list