Commit Graph

2 Commits

Author SHA1 Message Date
Pavel Yaskevich
96441c1129 [CSFix] Account for nested structural errors related to function argument mismatches
When it comes to contextual mismatches `ContextualType` is not guaranteed
to be the last element in the patch since contextual type could be a function
too which could would have `contextual type -> function argument` path.
2020-02-06 09:30:19 -08:00
Slava Pestov
d80b554866 AST: Fix crash when calling subst() on types involving member types of UnresolvedType
UnresolvedType needs to go away, but for now, don't crash.

Fixes <rdar://problem/50370326>, <https://bugs.swift.org/browse/SR-10595>.
2019-05-17 23:09:15 -04:00