Skip to content

[5.8] Sema: Relax availability checking for @MainActor #64538

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

tshortli
Copy link
Contributor

@tshortli tshortli commented Mar 22, 2023

Cherry pick of #64412.

The @MainActor global actor constraint on a declaration does not carry an inherent ABI impact and therefore use of this constraint should not be limited to OS versions where Swift concurrency is available.

Resolves rdar://105610970

The `@MainActor` global actor constraint on a declaration does not carry an
inherent ABI impact and therefore use of this constraint should not be limited
to OS versions where Swift concurrency is available.

Resolves rdar://105610970
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli changed the title Sema: Relax availability checking for @MainActor [5.8] Sema: Relax availability checking for @MainActor Mar 22, 2023
@tshortli tshortli marked this pull request as ready for review March 23, 2023 20:41
@tshortli tshortli requested a review from a team as a code owner March 23, 2023 20:41
@tshortli tshortli requested review from nkcsgexi and DougGregor March 23, 2023 20:42
@tshortli tshortli added swift 5.8 🍒 release cherry pick Flag: Release branch cherry picks labels Mar 23, 2023
@tkremenek tkremenek merged commit 7db51a5 into swiftlang:release/5.8 Mar 23, 2023
@tshortli tshortli deleted the relax-unsafe-main-actor-availability-checking-5.8 branch March 23, 2023 22:07
@Dodoebk
Copy link

Dodoebk commented Apr 12, 2023

Hi

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants