[Issue 8101] Display candidate function overloads when function call fails
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri May 2 15:39:33 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=8101
--- Comment #9 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
(In reply to bearophile_hugs from comment #8)
> Now
No, not now, that's how it already was. 2.065:
-----
void bar(float) {}
void bar(double) {}
void bar(real) {}
void main() {
bar(1);
}
-----
-----
test.d(5): Error: test.bar called with argument types (int) matches both:
test.d(1): test.bar(float _param_0)
and:
test.d(3): test.bar(real _param_0)
-----
File it as a separate bug.
--
More information about the Digitalmars-d-bugs
mailing list