mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
When we generate a safe wrapper that only differs in the return type we might introduce ambiguities as some callers might not have enough information to disambiguate between the overloads. This PR makes sure the newly generated declarations are marked as @_disfavoredOverload so the compiler can keep calling the old functions without a source break when the feature is turned on. rdar://139074571
43 KiB
43 KiB