digitalmars.D.bugs - [Issue 23459] New: Don't use 'Candidate is' when there is more than
- d-bugmail puremagic.com (29/29) Nov 04 2022 https://issues.dlang.org/show_bug.cgi?id=23459
https://issues.dlang.org/show_bug.cgi?id=23459 Issue ID: 23459 Summary: Don't use 'Candidate is' when there is more than one alias function overload Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: trivial Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: nick geany.org void foo(int) {} void bar(double) {} alias func = foo; alias func = bar; void main() { func("abc"); } fail_compilation/diag14818.d(12): Candidate is: `diag14818.foo(int _param_0)` fail_compilation/diag14818.d(13): `diag14818.bar(double _param_0)` Should be 'Candidates are'. PR incoming. --
Nov 04 2022