digitalmars.D.bugs - [Issue 14468] New: [Reg 2.068.0-devel] overload mismatch for
- via Digitalmars-d-bugs (36/36) Apr 19 2015 https://issues.dlang.org/show_bug.cgi?id=14468
https://issues.dlang.org/show_bug.cgi?id=14468 Issue ID: 14468 Summary: [Reg 2.068.0-devel] overload mismatch for template instance with typesafe variadic parameter Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: code dawg.eu cat > bug.d << CODE void foo(T)(T[]...) { } void foo(bool flag, T)(T[]...) { } void test() { foo!int(); } CODE dmd -c bug ---- bug.d(11): Error: template bug.foo cannot deduce function from argument types !(int)(), candidates are: bug.d(1): bug.foo(T)(T[]...) bug.d(5): bug.foo(bool flag, T)(T[]...) ---- Apparently introduced by https://github.com/D-Programming-Language/dmd/pull/4261. --
Apr 19 2015