Skip to content

🍒[5.7-04182022][Distributed] Guard ID synthesis from happening multiple times #42579

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Apr 22, 2022

Description: Avoid synthesising the ID property many times in case of multi module builds. Without this declaring a distributed actor in separate files, in a multi module project, will cause a compiler crash. More detailed description on why that is in original ticket.
Risk: Low
Review by: @DougGregor @kavon
Testing: Verified using sample app; unit tests
Original PR: #42577
Radar: rdar://92162535

@ktoso ktoso requested a review from a team as a code owner April 22, 2022 14:29
@ktoso ktoso changed the title 5.7 🍒 [Distributed] Pick prevent multiple id synthesis 🍒[5.7-04182022][Distributed] Pick prevent multiple id synthesis Apr 22, 2022
@ktoso
Copy link
Contributor Author

ktoso commented Apr 22, 2022

@swift-ci please test

@ktoso ktoso requested review from tomerd, xedin, kavon and DougGregor April 22, 2022 14:29
@ktoso ktoso added the distributed Feature → concurrency: distributed actor label Apr 22, 2022
@DougGregor DougGregor merged commit 7e9af2b into swiftlang:release/5.7-04182022 Apr 22, 2022
@ktoso ktoso deleted the pick-pick-prevent-multiple-id-synthesis branch April 22, 2022 22:28
@ktoso ktoso changed the title 🍒[5.7-04182022][Distributed] Pick prevent multiple id synthesis 🍒[5.7-04182022][Distributed] Guard ID synthesis from happening multiple times Apr 23, 2022
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