Skip to content

[6.0🍒] Revert "On 'canImport' of Clang submodules of modules with an umbrella header, attempt to infer the submodule" #72880

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

artemcm
Copy link
Contributor

@artemcm artemcm commented Apr 5, 2024

Cherry-pick of #72879

Reverts #72129 from the release/6.0 branch.

Explanation: This change had an unintended breaking effect - it causes #canImport clauses with non-existing submodules to succeed, at times.

Risk: Low. This change reverts a recent bugfix that turned out to be incomplete. The bug it fixed had been around for years, so this just reverts things to the status-quo.

Testing: Original change had an automated test which this PR reverts. Since this gets us back to where we were prior to this change, no additional testing is required.

Reviewed By: @cachemeifyoucan

@artemcm artemcm added 🍒 release cherry pick Flag: Release branch cherry picks swift 6.0 labels Apr 5, 2024
@artemcm artemcm requested a review from nkcsgexi April 5, 2024 18:29
@artemcm artemcm requested a review from a team as a code owner April 5, 2024 18:29
@artemcm
Copy link
Contributor Author

artemcm commented Apr 5, 2024

@swift-ci test

@artemcm
Copy link
Contributor Author

artemcm commented Apr 8, 2024

@swift-ci test macOS platform

Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@artemcm artemcm merged commit a2d5ac8 into swiftlang:release/6.0 Apr 9, 2024
@artemcm artemcm deleted the 60-revert-72129-canImportSubmoduleInfer branch April 9, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 6.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants