https://issues.dlang.org/show_bug.cgi?id=14802
Issue ID: 14802 Summary: Template argument deduction depends on order of arguments Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: timokhin...@gmail.com Template argument deduction from several identical parameters may depend on order of the arguments. test.d ---- void f(T)(T x, T y) { pragma(msg, T); } void main() { f(1.0, 1.0f); f(1.0f, 1.0); } ---- $ dmd test.d float double --