Skip to content

[5.9][Dependency Scanning] Do not add cross-import overlays that involve the main module being scanned #64685

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
merged 1 commit into from
Mar 29, 2023

Conversation

artemcm
Copy link
Contributor

@artemcm artemcm commented Mar 28, 2023

Cherry-pick of #64659

For example, when scanning a source module Foo, which, when depending on module Bar causes a cross-import overlay _Foo_Bar to be added, do not add this cross-import overlay when scanning Foo itself. For example, if Foo adds a dependency on Bar itself in its own dependency graph.

…he main module being scanned

For example, when scanning a source module `Foo`, which, when depending on module `Bar` causes a cross-import overlay `_Foo_Bar` to be added, do not add this cross-import overlay when scanning `Foo` itself. For example, if `Foo` adds a dependency on `Bar` itself in its own dependency graph.
@artemcm artemcm requested a review from nkcsgexi March 28, 2023 19:57
@artemcm artemcm requested a review from a team as a code owner March 28, 2023 19:57
@artemcm
Copy link
Contributor Author

artemcm commented Mar 28, 2023

@swift-ci test

@artemcm artemcm merged commit c16f2ad into swiftlang:release/5.9 Mar 29, 2023
@artemcm artemcm deleted the 59NoMainModuleCrossImport branch March 29, 2023 16:41
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants