http://d.puremagic.com/issues/show_bug.cgi?id=6969
Summary: Forward reference on template class triangle Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: cbkbbej...@mailinator.com Blocks: 340 --- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2011-11-17 18:20:08 PST --- class A() { alias C!() C1; } class B { alias A!() A1; } class C() : B { } >dmd -c text.d test.d(9): Error: class test.C!().C has forward references test.d(7): Error: template instance test.A!() error instantiating Problem cannot be worked around by rearranging order of declaration. All 6 possible orders exhibit the "has forward references" error. Might be related to #3834 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------