swift
5c3f6703 - Remove `diag::type_of_expression_is_ambiguous`

Commit
240 days ago
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.
Author
Committer
Parents
Loading