-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Introduce separately-imported stdlib overlays #84358
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
@swift-ci please test |
c1837c9
to
b2b53b7
Compare
@swift-ci please test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you @beccadax !
Mangling wise they're all still _Concurrency so that looks good :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this simplification. No notes!
b2b53b7
to
00ac7a3
Compare
@swift-ci please test |
@swift-ci smoke test |
1 similar comment
@swift-ci smoke test |
swiftlang/swift#84358 makes the `_Concurrency` module behave like a cross-import overlay of `Swift`. This changes downstream behavior in SourceKit-LSP. Update a test to reflect that change.
With swiftlang/sourcekit-lsp#2313 @swift-ci please test |
The `_Concurrency` and `_StringProcessing` modules are implementation details of the standard library; to developers, their contents should behave as though they are declared directly within module `Swift`. This is the exact same behavior we expect of cross-import overlays, so treat these modules as though they are cross-import overlays with no bystanding module. Because these modules don’t re-export the standard library, it’s also necessary to treat `Swift` as a separately imported overlay of itself; do so and make that actually work.
00ac7a3
to
3abbfaa
Compare
With swiftlang/sourcekit-lsp#2313 @swift-ci please smoke test |
swiftlang/swift#84358 makes the `_Concurrency` module behave like a cross-import overlay of `Swift`. This changes downstream behavior in SourceKit-LSP. Update a test to reflect that change.
swiftlang/swift#84358 makes the `_Concurrency` module behave like a cross-import overlay of `Swift`. This changes downstream behavior in SourceKit-LSP. Update a test to reflect that change.
This is ready to merge once the downstream swiftlang/sourcekit-lsp#2313 goes in. |
The
_Concurrency
and_StringProcessing
modules are implementation details of the standard library; to developers, their contents should behave as though they are declared directly within moduleSwift
. This is the exact same behavior we expect of cross-import overlays, so treat these modules as though they are cross-import overlays with no bystanding module.Because these modules don’t re-export the standard library, it’s also necessary to treat
Swift
as a separately imported overlay of itself; do so and make that actually work.Offshoot of work on module selectors (#34556).