swift
521ea46d - Sema: Don't record constraints containing UnboundGenericType from shrink()

Commit
261 days ago
Sema: Don't record constraints containing UnboundGenericType from shrink() Something changed here between the removal of shrink() and it's re-introduction, and we now record constraints that contain UnboundGenericType, which crashes in matchTypes(). As a narrow workaround, let's just ignore the contextual type if contains an UnboundGenericType. Fixes rdar://145092838.
Author
Committer
Parents
Loading