mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Regardless of whether an overload choice matched on one or more literal candidate types assign it a fixed score to make sure that we always prefer outmost disjunction in cases like `test(1 + 2 + 3)` since it gives us a better chance to prune once there is a contextual type.
31 KiB
31 KiB