mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Before these changes filtering would not favor some members because their function types have `escaping` bit set when argument function type never has it. Double/CGFloat implicit conversion is one of such cases where `CGFloat.init` overloads have `escaping` bit, which leads to solver checking more overloads then it should. Note that the difference in effects such as `async` is going to be handled by scoring and ranking after partial solution is produced, so overloads that differ only in `async` or `throws` are still going to be solved for as part of "favored" set.
523 KiB
523 KiB