[Issue 13340] Improve error message for overload resolution error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 27 11:44:28 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=13340
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nick at geany.org
--- Comment #2 from Nick Treleaven <nick at geany.org> ---
> That second `void f()` should be called something different
Yes.
> so it seems this issue should be closed and another one opened for the fact that this still doesn't compile?
It can't compile because the first x overload doesn't take a struct, and the
second one doesn't take an rvalue. So this issue is valid.
--
More information about the Digitalmars-d-bugs
mailing list