Skip to content

[6.0][Distributed][Macro] Handle more edge cases with distributed protocol macro #73047

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 16, 2024

Description: The new distributed protocol macro creates stubs from protocols. We need to handle some more complex protocol requirements, such as properties with effects etc.

Scope/Impact: Low, just impacts adopters of the distributed protocol macro.
Risk: Low, just cleanups in edge cases of the _DistributedProtocol macro

Testing: CI testing
Reviewed by: @xedin

Original PR: #73046
Radar: Radar: rdar://126311284

@ktoso
Copy link
Contributor Author

ktoso commented Apr 16, 2024

Whoops, sorry for the mass ping -- wrong branch initially, fixed.

@ktoso ktoso requested a review from xedin April 16, 2024 09:01
@ktoso ktoso changed the title Pick wip distributed macro diagnostics improvements [6.0][Distributed] Handle more edge cases with distributed protocol macro Apr 16, 2024
@ktoso
Copy link
Contributor Author

ktoso commented Apr 16, 2024

@swift-ci please test

@ktoso ktoso added distributed Feature → concurrency: distributed actor 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Apr 16, 2024
@ktoso
Copy link
Contributor Author

ktoso commented Apr 16, 2024

Thanks @ahoppen seems I picked too much here

@ktoso ktoso force-pushed the pick-wip-distributed-macro-diagnostics-improvements branch from dda1b8d to 450256c Compare April 17, 2024 02:18
@ktoso ktoso force-pushed the pick-wip-distributed-macro-diagnostics-improvements branch from 450256c to 79cae1c Compare April 17, 2024 02:18
@ktoso
Copy link
Contributor Author

ktoso commented Apr 17, 2024

@swift-ci please test

@ktoso ktoso changed the title [6.0][Distributed] Handle more edge cases with distributed protocol macro [6.0][Distributed][Macro] Handle more edge cases with distributed protocol macro Apr 17, 2024
@ktoso
Copy link
Contributor Author

ktoso commented Apr 18, 2024

@swift-ci please test macOS

CI was borked last evening meh

@hborla hborla merged commit 7eae931 into swiftlang:release/6.0 Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distributed Feature → concurrency: distributed actor 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants