https://d.puremagic.com/issues/show_bug.cgi?id=11875
Summary: static if template type deduction causes infinite recursion with recursive alias this Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: r.sagita...@gmx.de --- Comment #0 from Rainer Schuetze <r.sagita...@gmx.de> 2014-01-06 04:40:34 PST --- compiling this code //-----8<------- class C1 { C2 c; alias c this; } class C2 { C1 c; alias c this; } struct T1(C) { C c; } static if(is(C1 == T1!C, C)) static assert(false); //----->8------- freezes dmd. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------