https://issues.dlang.org/show_bug.cgi?id=12799
Issue ID: 12799
Summary: Forward reference to nested enum with struct.sizeof
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
struct A
{
enum C=A.sizeof;
enum D=C; //Error: forward reference of variable C
int a;
}
--
