mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Order them such that if they were changed to conversions, they would be sound. This shouldn't make a difference, but unfortunately it turns out pattern equality is not symmetric. As such, tweak the pattern equality logic to account for the reversed types. This allows us to remove a special case from function matching.
591 KiB
591 KiB