Skip to content

[5.10][Concurrency] Disallow Sendable annotation on methods of non-Sendable… #69220

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

Conversation

angela-laar
Copy link
Contributor

@angela-laar angela-laar commented Oct 16, 2023

Cherry-pick #69177 into release/5.10

Explanation: Diagnose Sendable annotation on methods of non-Sendable types. This will be an error in Swift 6.
Risk: Low, diagnostic
Testing: Passes current test-suite
Reviewer: @hborla @slavapestov

@angela-laar angela-laar requested a review from a team as a code owner October 16, 2023 23:39
@angela-laar angela-laar changed the title [Concurrency] Disallow Sendable annotation on methods of non-Sendable… [5.10][Concurrency] Disallow Sendable annotation on methods of non-Sendable… Oct 16, 2023
@angela-laar
Copy link
Contributor Author

@swift-ci please test

@angela-laar angela-laar merged commit e0b3387 into swiftlang:release/5.10 Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants