mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Situations like: ``` let _: Double = <<CGFloat>> <var/property of type Double> = <<CGFloat>> ``` Used to be supported due to an incorrect fix added in diagnostic mode. Lower impact here means that right-hand side of the assignment is allowed to maintain CGFloat until the very end which minimizes the number of conversions used and keeps literals as Double when possible. Resolves: rdar://139675914
616 KiB
616 KiB