Skip to content

[SE-0302] Implement '@unchecked Sendable' syntax. #38344

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
merged 5 commits into from
Jul 13, 2021

Conversation

DougGregor
Copy link
Member

@DougGregor DougGregor commented Jul 12, 2021

Explanation: Implement support for @unchecked Sendable conformances, a part of SE-0302 "Sendable and @Sendable closures" that had previously be implemented in a different way (an UnsafeSendable protocol).
Scope: Introduces new syntax, which should not affect any existing code.
Radar/SR Issue: rdar://78269000.
Risk: Low.
Testing: PR testing and CI on main.
Original PR: #38343

Parse and provide semantic checking for '@unchecked Sendable', for a
Sendable conformance that doesn't perform additional semantic checks
for correctness.

Part of rdar://78269000.

(cherry picked from commit 29f5d7a)
@DougGregor DougGregor requested a review from a team as a code owner July 12, 2021 04:51
@DougGregor
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 7085391

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 7085391

@DougGregor
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 18b7fdf

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 18b7fdf

@DougGregor
Copy link
Member Author

@swift-ci please test

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 02470cf

@DougGregor
Copy link
Member Author

@swift-ci please test macOS

@DougGregor
Copy link
Member Author

@swift-ci please nominate

@DougGregor DougGregor merged commit 9698770 into swiftlang:release/5.5 Jul 13, 2021
@DougGregor DougGregor deleted the unchecked-sendable-5.5 branch July 13, 2021 18:18
@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