Skip to content

[6.2] [SE-0466] Enable SendableProhibitsMainActorInference by default #82923

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

Draft
wants to merge 1 commit into
base: release/6.2
Choose a base branch
from

Conversation

DougGregor
Copy link
Member

  • Explanation: Implements the amendment to SE-0466 currently under discussion, which prohibits @MainActor from being inferred for Sendable-conforming types in when default-main-actor-isolation is enabled.
  • Scope: Narrow. Only applies to default main actor isolation.
  • Issues: rdar://151029300
  • Original PRs: [SE-0466] Enable SendableProhibitsMainActorInference by default #82921
  • Risk: Low. Enables slightly more inference rules with default main actor isolation.
  • Testing: CI
  • Reviewers:

This implements the SE-0466 amendment under discussion for all code
with default main-actor isolation.

Finalizes rdar://151029300.
@DougGregor DougGregor requested a review from a team as a code owner July 9, 2025 18:10
@DougGregor
Copy link
Member Author

@swift-ci please test

@DougGregor DougGregor marked this pull request as draft July 9, 2025 18:32
@DougGregor
Copy link
Member Author

@swift-ci please test Windows

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.

1 participant