mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Allow CGFloat -> Double widening conversions between candidate argument types and parameter types. This would make sure that Double is always preferred over CGFloat when using literals and ranking supported disjunction choices. Narrowing conversion (Double -> CGFloat) should be delayed as much as possible.
42 KiB
42 KiB