https://d.puremagic.com/issues/show_bug.cgi?id=12386
--- Comment #1 from Vladimir Panteleev <[email protected]> 2014-03-17 07:50:51 EET --- This doesn't work as one might expect: void f(T, U=X!T)(T a, U b) {} U will always be inferred from the type of b, overriding the default. Valid workaround: void f(T, U)(T a, U b) if(is(U==X!T)) {} -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
