http://d.puremagic.com/issues/show_bug.cgi?id=4033
Summary: Error: base class is forward referenced Product: D Version: 1.057 Platform: Other OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nfx...@gmail.com --- Comment #0 from nfx...@gmail.com 2010-03-31 01:55:29 PDT --- $ dmd t2.d t2.d(13): Error: class t2.Z base class is forward referenced by X t2.d(7): Error: static assert (is(Z : X)) is false t2.d(11): instantiated from here: Template!(Z) $ cat t2.d module t2; class X { } class Template(T) { static assert(is(T : X)); //line 7 } alias Template!(Z) Bla; //line 11 class Z : X { //line 13 } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------