http://d.puremagic.com/issues/show_bug.cgi?id=5242
Summary: self referencing template constraint crashes compiler Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: michal.min...@gmail.com --- Comment #0 from Michal Minich <michal.min...@gmail.com> 2010-11-19 14:30:59 PST --- I wanted to restrict template parameter X to allow only derived classes of A. class A (X : A!(X)) { } class B : A!(B) { } void main () {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------