Skip to content

[Sema] @_private imports brings is all SPI of the imported module #67746

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
Aug 4, 2023

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Aug 4, 2023

Within one module, SPI decls are always visible. Conceptually we want the same behavior for @_private imports where the client pretends it's part of the same module.

rdar://81240984

Within one module, SPI decls are always visible. Conceptually we want
the same behavior for `@_private` imports where the client pretends it's
part of the same module.

rdar://81240984
@xymus xymus requested a review from tshortli August 4, 2023 17:33
@xymus
Copy link
Contributor Author

xymus commented Aug 4, 2023

@swift-ci Please smoke test

@xymus xymus merged commit ae76f51 into swiftlang:main Aug 4, 2023
@xymus xymus deleted the spi-private-imports branch August 4, 2023 21:42
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