Skip to content

🍒[5.9][Distributed] Don't diagnose declared dist member properties when importing module #66842

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 Jun 22, 2023

Description: We previously fixed that this method should not diagnose when checking in SourceFileKind::Interface mode, but we also should skip when there is no source file at all. This fixes compilation of the distributed cluster in 5.9, since the behavior of typechecking seems to have changed slightly and we didn't enter this function in such situations previously.
Risk: Low, prevents over-zelous error diagnostics messages when importing modules
Review by: @DougGregor
Testing: CI testing; Verified the cluster compiles again after the fix manually
Original PR: #66841
Radar: rdar://111080052

@ktoso ktoso requested a review from a team as a code owner June 22, 2023 02:16
@ktoso
Copy link
Contributor Author

ktoso commented Jun 22, 2023

@swift-ci please test

@ktoso
Copy link
Contributor Author

ktoso commented Jun 22, 2023

I'm going to merge this so it doesn't miss tagging but I'm working on adding a test confirming this in the test suite as well.

@ktoso ktoso merged commit 5722ca3 into swiftlang:release/5.9 Jun 22, 2023
@ktoso ktoso deleted the pick-wip-distributed-non-file-checking-properties branch June 22, 2023 10:27
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