Skip to content

[Amendment] SE-0296: Allow overloads that differ only in async #38108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

DougGregor
Copy link
Member

Explanation: Implement the async/await amendment currently under review that allows overloads that differ only in async vs. non-async.
Scope: Only affects programs that have already adopted Swift Concurrency. This loosens the rules around declaring overloads, so it accepts strictly more code that the existing language.
Radar/SR Issue: rdar://79788345
Risk: Low.
Testing: PR testing and CI on main.
Original PR: #38107

Implement the amendment currently under review that allows overloads
that differ only in async vs. non-async.

Implements rdar://79788345.
@DougGregor DougGregor requested a review from a team as a code owner June 25, 2021 18:48
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor
Copy link
Member Author

@swift-ci please nominate

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 50e6f2a

@DougGregor
Copy link
Member Author

Grr. Spurious, unrelated SwiftPM failure

@DougGregor DougGregor merged commit 39d4640 into swiftlang:release/5.5 Jun 25, 2021
@DougGregor DougGregor deleted the async-sync-overload-5.5 branch June 25, 2021 22:26
@AnthonyLatsis AnthonyLatsis added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.5 labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.5
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants