Skip to content

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Sep 3, 2025

Otherwise the "nonisolated nonsending by default" mode blows up as
distributed thunk signatures dont match expectations.

This is a follow up from #83940

And solves the issue by instead adjusting the synthesis side of the distributed thunks,
such that they are @concurrent always -- which keeps their old semantics
basically, regardless of what "default" mode we have.

Resolves rdar://159247975

Otherwise the "nonisolated nonsending by default" mode blows up as
distributed thunk signatures dont match expectations.

This undoes the fix from #83940
and applies the fix on the synthesis side of the distributed thunks,
such that they are @Concurrent always -- which keeps their old semantics
basically, regardless of what "default" mode we have.
@ktoso
Copy link
Contributor Author

ktoso commented Sep 3, 2025

@swift-ci please smoke test

@ktoso ktoso merged commit 385938f into main Sep 3, 2025
3 checks passed
@ktoso ktoso deleted the wip-nonisolated-thunks-retain-semantics branch September 3, 2025 23:29
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