Skip to content

[Distributed] Report error rather than crash no ad-hoc requirements are implemented #66020

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

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented May 19, 2023

Ok this specific crash is because of a cascade of errors kind of... We don't get to emit errors about the NESTED type ResultHandler because the outer ActorSystem type already has errors. By not erroring about it, we attempt to synthesize bodies using it and fail on assertions looking for missing methods.

@ktoso ktoso requested a review from slavapestov as a code owner May 19, 2023 14:09
@ktoso
Copy link
Contributor Author

ktoso commented May 19, 2023

Resolves rdar://108995388

@ktoso
Copy link
Contributor Author

ktoso commented May 19, 2023

@swift-ci please smoke test

@ktoso ktoso requested a review from xedin May 19, 2023 14:20
@ktoso ktoso added distributed Feature → concurrency: distributed actor diagnostics QoI Bug: Diagnostics Quality of Implementation labels May 19, 2023
@ktoso ktoso merged commit 181161c into swiftlang:main May 19, 2023
@ktoso ktoso deleted the wip-distributed-dont-crash-compile-on-empty-system branch May 19, 2023 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagnostics QoI Bug: Diagnostics Quality of Implementation distributed Feature → concurrency: distributed actor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant