Skip to content
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

[Concurrency] Look for explicit 'nonisolated' when getting isolation from protocol conformances. #79893

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

simanerush
Copy link
Member

If the protocol from the conformance list explicitly strips off global actor with nonisolated, make sure to look for this explicit isolation source when computing the resulting isolation; to prevent accidental global actor inference on the conforming type.

Resolves rdar://144798727.

@simanerush
Copy link
Member Author

@swift-ci please smoke test

@simanerush simanerush force-pushed the fix-explicit-nonisolated-proto-inference branch from 0240c50 to 5825021 Compare March 11, 2025 17:18
@simanerush
Copy link
Member Author

@swift-ci please smoke test macOS

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