Skip to content

[6.0] Infer protocol isolation from its inherited protocols. #73579

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

DougGregor
Copy link
Member

@DougGregor DougGregor commented May 11, 2024

Explanation: Infer protocol isolation from its inherited protocols. Part of SE-0434 "Usability of global-actor-isolated types".
Original PR: #73572
Risk: Low. Inference rule tweak for Swift 6 mode.
Radar/issue: rdar://127843050
Testing: New tests.

We somehow missed this inference rule. Put it behind SE-0434's
`GlobalActorIsolatedTypesUsability` flag. Fixes rdar://127843050.

(cherry picked from commit 90341b2)
@DougGregor DougGregor requested a review from a team as a code owner May 11, 2024 04:48
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor merged commit 51cdcc6 into swiftlang:release/6.0 May 11, 2024
5 checks passed
@DougGregor DougGregor deleted the infer-isolation-from-inherited-protocols-6.0 branch May 11, 2024 21:35
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