mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
- Prefer CGFloat -> Double over the other way around to avoid ambiguities; - Every new conversion impacts the score by factor of number of previously applied conversions to make it possible to select solutions that require the least such conversions. - Prefer concrete overloads with Double <-> CGFloat conversion over generic ones.
442 KiB
442 KiB