Skip to content

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

Merged
tkremenek merged 1 commit intoswiftlang:release/5.8from
tshortli:relax-unsafe-main-actor-availability-checking-5.8
Mar 23, 2023
Merged

[5.8] Sema: Relax availability checking for @MainActor#64538
tkremenek merged 1 commit intoswiftlang:release/5.8from
tshortli:relax-unsafe-main-actor-availability-checking-5.8

Conversation

@tshortli
Copy link
Copy Markdown
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
Copy Markdown
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 DougGregor and nkcsgexi 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
Copy Markdown

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