Skip to content

[Concurrency] Improve diagnostic for inout params with Sendable closures #42016

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 2 commits into from
Mar 25, 2022

Conversation

angela-laar
Copy link
Contributor

Error should point out any operation with mutable params is not permitted in a Sendable closure
Fixes rdar://89641516

…res.

Error should point out any operation with mutable params is not permitted in a Sendable closure
Fixes rdar://89641516
@angela-laar angela-laar requested a review from kavon March 24, 2022 23:43
@angela-laar
Copy link
Contributor Author

@swift-ci please smoke test

@angela-laar
Copy link
Contributor Author

I need to update taskgroup_cancelAll_from_child.swift to expect the new error

@angela-laar
Copy link
Contributor Author

@swift-ci please smoke test

Copy link
Member

@kavon kavon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

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