swift
0695917b - [CS] Don't form conversion between switch subject and pattern

Commit
2 years ago
[CS] Don't form conversion between switch subject and pattern This is wrong because there's nowhere to put any conversion that is introduced, meaning that we'll likely crash in SILGen. Change the constraint to equality, which matches what we do outside of the constraint system. rdar://107709341
Author
Committer
Parents
Loading