swift
7629fbd0 - [Sema] Quick fix for non-copyable type resolution crash

Commit
19 days ago
[Sema] Quick fix for non-copyable type resolution crash Add a guard to make sure we don't attempt to check for Copyable conformance if the type contains type variables. This matches the existing behavior where we won't check for unbound generic types. Neither behavior is correct since we won't do the proper check once the generic type is opened, but this at least makes the behavior consistent and fixes the crash. It's also a very low risk fix that can be cherry-picked. rdar://152287178
Author
Committer
Parents
Loading