http://d.puremagic.com/issues/show_bug.cgi?id=9235
--- Comment #1 from Kenji Hara <k.hara...@gmail.com> 2012-12-28 05:55:08 PST --- This is a kind of "template overload set", which is not yet supported in current dmd. Following is an another case which fails to compile based on the same issue. --- // module a; template A(T) if (is(T == int)) {} // module b; template A(T) if (is(T == double)) {} // moudle test; import a, b; alias A!int X; --- output: test.d(5): Error: template instance A!(int) ambiguous template declaration b.A(T) if (is(T == double)) and a.A(T) if (is(T == int)) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------