Skip to content

🍒[5.7][Distributed] onReturn ad-hoc req must not allow mutating witness #59165

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 3 commits into from
Jun 15, 2022

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 31, 2022

Description: Some adhoc requirements were missing the requirement checking for mutating. Without this fix errors appear in synthesized code, confusing developers about what they did wrong.
Risk: Low.
Review by: @xedin
Testing: PR testing
Original PR: #59162
Radar: rdar://94127604
Issue: #59159

@ktoso
Copy link
Contributor Author

ktoso commented May 31, 2022

First merge: #58683

@ktoso ktoso changed the title Pick adhoc mutating onreturn 🍒[5.7][Distributed] onReturn ad-hoc req must not allow mutating witness May 31, 2022
@ktoso
Copy link
Contributor Author

ktoso commented May 31, 2022

@swift-ci please test

@ktoso ktoso added the distributed Feature → concurrency: distributed actor label May 31, 2022
@ktoso ktoso force-pushed the pick-adhoc-mutating-onreturn branch from 90c140c to 67b4616 Compare May 31, 2022 06:08
@ktoso
Copy link
Contributor Author

ktoso commented May 31, 2022

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Jun 14, 2022

Rebased

@ktoso ktoso force-pushed the pick-adhoc-mutating-onreturn branch from 67b4616 to 863ee97 Compare June 14, 2022 12:13
@ktoso
Copy link
Contributor Author

ktoso commented Jun 14, 2022

@swift-ci please test and merge

@ktoso
Copy link
Contributor Author

ktoso commented Jun 15, 2022

@swift-ci please smoke test

@ktoso ktoso force-pushed the pick-adhoc-mutating-onreturn branch from 1a160df to a6941e6 Compare June 15, 2022 07:41
@ktoso
Copy link
Contributor Author

ktoso commented Jun 15, 2022

@swift-ci please test and merge

@swift-ci swift-ci merged commit e0db905 into swiftlang:release/5.7 Jun 15, 2022
@ktoso ktoso deleted the pick-adhoc-mutating-onreturn branch June 15, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants