swift
28772234 - [CS] Allow contextual types with errors

Commit
15 days ago
[CS] Allow contextual types with errors Previously we would skip type-checking the result expression of a `return` or the initialization expression of a binding if the contextual type had an error, but that misses out on useful diagnostics and prevents code completion and cursor info from working. Change the logic such that we open ErrorTypes as holes and continue to type-check.
Author
Parents
Loading