Commit Graph

4 Commits

Author SHA1 Message Date
Hamish Knight
5c3f6703a0 Remove diag::type_of_expression_is_ambiguous
This is a diagnostic that is only really emitted as a fallback when
the constraint system isn't able to better diagnose the expression.
It's not particulary helpful for the user, and can be often be
misleading since the underlying issue might not actually be an
ambiguity, and the user may well already have a type annotation. Let's
instead just emit the fallback diagnostic that we emit in all other
cases, asking the user to file a bug.
2025-08-19 17:14:23 +01:00
Alejandro Alonso
0b108e2cd2 Update tests to old behavior 2024-11-06 13:55:02 -08:00
Alejandro Alonso
4a7fb6f5fe Some test fixes 2024-09-04 15:13:48 -07:00
Anthony Latsis
ff2a5e06f6 [NFC] test: Move unqualified init expression tests out of test/Parse 2024-01-02 16:27:57 +03:00