September 04 [Issue 24744] New: List candidates when no overloads match from different modules | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: nick@geany.org >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 -- |
Copyright © 1999-2021 by the D Language Foundation