Skip to content

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