Skip to content

[6.1] [cas] Definitions from unimported submodules should not be visible #9722

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

benlangmuir
Copy link

Explanation: In 66228ed a merge conflict was incorrectly resolved leading to modules built with caching to expose definitions that come from unimported submodules to codegen. This would then cause linking errors if multiple TUs imported any part of that module.
Scope: Affects modules built with caching enabled.
Issues: rdar://131028078
Original PR: #9716
Risk: Low. This reverts to the previous behaviour. Only caching builds involving modules are affected.
Testing: New tests added
Reviewed by: @cachemeifyoucan

In 66228ed a merge conflict was incorrectly resolved leading to
modules built with caching to expose definitions that come from
unimported submodules to codegen. This would then cause linking errors
if multiple TUs imported any part of that module.

rdar://131028078
(cherry picked from commit e511172)
@benlangmuir benlangmuir requested a review from a team as a code owner December 11, 2024 22:23
@benlangmuir
Copy link
Author

@swift-ci please test

@nkcsgexi nkcsgexi merged commit b230b2c into swiftlang:swift/release/6.1 Dec 12, 2024
3 checks passed
@benlangmuir benlangmuir deleted the fix-nullptr-deref-6.1 branch December 12, 2024 17:57
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