https://d.puremagic.com/issues/show_bug.cgi?id=12416
Summary: Template specialization with TemplateTupleParameter incorrect ordering Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: john.loughran.col...@gmail.com --- Comment #0 from John Colvin <john.loughran.col...@gmail.com> 2014-03-19 21:07:30 GMT --- template Foo(T) { pragma(msg, "1"); } template Foo(A ...) { pragma(msg, "4"); } alias foo1 = Foo!(int); This prints 4, not 1. This is wrong according to the docs: "If both a template with a tuple parameter and a template without a tuple parameter exactly match a template instantiation, the template without a TemplateTupleParameter is selected." -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------