Commit graph

5 commits

Author SHA1 Message Date
Nick Treleaven
31c5a894d2 Fix 'no overloads callable using mutable object' wording
The error is wrong, it should include the argument types as well.
E.g. `fail_compilation/ctor_attr.d` shows this error even though there
is actually a mutable overload `foo(string)`.
2023-11-19 22:52:49 +01:00
Nick Treleaven
14a49f62d5 Also show argument types 2023-11-17 21:36:23 +00:00
Nick Treleaven
a107b933fb Rebase & fix new test 2023-11-17 09:49:08 +00:00
Nick Treleaven
01377d9ab4 Update tests 2023-11-14 18:37:11 +00:00
Nick Treleaven
d5842945d9 Show TypeFunction.mod in overload candidates
Fix Issue 22216 - Incomplete/incorrect error message for mutability overloads
2023-11-14 17:48:15 +00:00