http://d.puremagic.com/issues/show_bug.cgi?id=7426
--- Comment #3 from kenn...@gmail.com 2012-02-05 23:45:05 PST --- (In reply to comment #2) > Probably related test case: > > struct S { > static if(hasIndirections!(typeof(this))) {} > } > > template hasIndirections(T) > { > enum hasIndirections = hasIndirectionsImpl!(T.tupleof); > } > > template hasIndirectionsImpl(T...) > { > static if (!T.length) > { > enum hasIndirectionsImpl = false; > } > else > { > enum hasIndirectionsImpl = true; > } > } Pull #696 removed the 'no size yet for forward reference' in this test case, but DMD will complain 'template instance test.hasIndirectionsImpl!(tuple()) error instantiating' anyway. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------