Bug 15616 – missing candidate in error message

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-01-27T15:24:00Z
Last change time
2017-08-07T13:15:22Z
Keywords
diagnostic
Assigned to
nobody
Creator
john.loughran.colvin

Comments

Comment #0 by john.loughran.colvin — 2016-01-27T15:24:08Z
void foo(int a) {} void foo(T)(T a) if (is(T == float)) {} void bar() { foo(3.4); } /d897/f111.d(5): Error: None of the overloads of 'foo' are callable using argument types (double), candidates are: /d897/f111.d(1): f111.foo(int a) no mention of the other candidate foo(T)(T a)
Comment #1 by github-bugzilla — 2017-02-28T20:30:05Z
Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d91eec61f604e7c70450527ba88f1701a5d8c793 Fix Issue 15616 - missing candidate in error message (#6525) Fix Issue 15616 - missing candidate in error message merged-on-behalf-of: Andrei Alexandrescu <[email protected]>
Comment #2 by github-bugzilla — 2017-08-07T13:15:22Z
Commit pushed to newCTFE at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d91eec61f604e7c70450527ba88f1701a5d8c793 Fix Issue 15616 - missing candidate in error message (#6525)