https://issues.dlang.org/show_bug.cgi?id=24744
Issue ID: 24744
Summary: List candidates when no overloads match from different
modules
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
>From the dmd test suite:
---
module imports.range15788;
auto iota(B, E, S)(B, E, S)
{
}
---
import imports.range15788 : iota;
void iota() {}
struct S {}
void main()
{
S s;
iota(s, s);
}
---
This gives:
ice15788.d(20): Error: none of the overloads of `iota` are callable using
argument types `!()(S, S)`
It should list the overloads.
Fix: https://github.com/dlang/dmd/pull/16826
--