http://d.puremagic.com/issues/show_bug.cgi?id=3576
Summary: Can't overload explicitly instantiated template functions Product: D Version: future Platform: Other OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2009-12-05 06:46:46 PST --- Broken in 2.037, works in 2.036: void foo(T)(T arg) {} void foo(T)(T arg, uint bar) {} void main() { foo(1); // works foo(1, 2); // works foo!(uint)(1); // Error: template instance foo!(uint) matches // more than one template declaration, foo(T) and foo(T) } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------