Skip to content

[Concurrency] Downgrade non-Sendable type captures to warnings if clo… #80737

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
merged 1 commit into from
Apr 18, 2025

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 10, 2025

…sure is in @preconcurrency context

The original check examined only the immediate closure, but it's possible that the closure happens to be in a preconcurrency context which also requires a downgrade.

Resolves: rdar://148996589

…sure is in @preconcurrency context

The original check examined only the immediate closure, but it's
possible that the closure happens to be in a preconcurrency context
which also requires a downgrade.

Resolves: rdar://148996589
@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2025

@swift-ci please test Linux platform

@xedin
Copy link
Contributor Author

xedin commented Apr 17, 2025

@swift-ci please smoke test

@xedin xedin merged commit b3e48b4 into swiftlang:main Apr 18, 2025
5 checks passed
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