Skip to content

🍒[5.9][Distributed] Explicitly ban __owned and other specifiers we dont support #66120

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
May 25, 2023

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 25, 2023

Description: Distributed function IRGen cannot handle ownership specifiers so we should ban them explicitly until we can handle them. consuming is already prevented "by accident" for reasons that moveonly types cannot conform to protocols yet, and consuming cannot be used with copyable types yet; but we can then in any case until we support them in IRGen of distributed invocations.
Risk: Low, just prevents code which would have crashed.
Review by: @DougGregor @drexin
Testing: CI testing
Original PR: #66119
Radar: rdar://109225190

@ktoso ktoso requested a review from a team as a code owner May 25, 2023 09:15
@ktoso ktoso changed the title [Distributed] Explicitly ban __owned and other specifiers we dont support 🍒[5.9][Distributed] Explicitly ban __owned and other specifiers we dont support May 25, 2023
@ktoso ktoso requested a review from drexin May 25, 2023 09:27
@ktoso
Copy link
Contributor Author

ktoso commented May 25, 2023

@swift-ci please test

@tbkka
Copy link
Contributor

tbkka commented May 25, 2023

Nice catch! CC: @jckarter

@ktoso
Copy link
Contributor Author

ktoso commented May 25, 2023

Thanks for review 👍

@ktoso ktoso merged commit c9cdb72 into swiftlang:release/5.9 May 25, 2023
@ktoso ktoso deleted the pick-wip-distributed-ban-__owned branch May 25, 2023 14:59
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