Skip to content

Only emit the non-sendable metatype capture diagnostic under region-based isolation #81983

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

Merged

Conversation

DougGregor
Copy link
Member

We effectively suppress sendable diagnostics when region-based isolation is disabled, and RBI is enabled whenever strict concurrency checking is enabled. So, suppress this diagnostic when RBI is enabled.

Fixes rdar://152583759.

…ased isolation

We effectively suppress sendable diagnostics when region-based
isolation is disabled, and RBI is enabled whenever strict concurrency
checking is enabled. So, suppress this diagnostic when RBI is enabled.

Fixes rdar://152583759.
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor enabled auto-merge June 4, 2025 16:47
@DougGregor
Copy link
Member Author

@swift-ci please smoke test Windows

@DougGregor DougGregor merged commit 352f392 into swiftlang:main Jun 5, 2025
3 checks passed
@DougGregor DougGregor deleted the non-sendable-metatype-suppress branch June 5, 2025 16:02
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