http://d.puremagic.com/issues/show_bug.cgi?id=7860
Summary: Constant fields of forward referenced structs break everything Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: siegelords_ab...@yahoo.com --- Comment #0 from siegelords_ab...@yahoo.com 2012-04-08 12:20:17 PDT --- This code used to compile fine with DMD 2.058 but is broken in the git version of DMD: struct A(T) { enum A!(T) test = A!(T)(); static if(true) { pragma(msg, "Not printed..."); // Not printed enum A!(T) blah = A!(T)(); } } void main() { auto a = A!(char).blah; // Error: no property 'blah' for type 'A!(char)' } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------