Skip to content

ModuleInterface: Don't alias Foundation module in swiftinterfaces #76274

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
Sep 5, 2024

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Sep 5, 2024

Skip aliasing Foundation when -alias-module-names-in-module-interface is specified since it appears to confuse the typechecker. The module name "Foundation" is hardcoded and checked in several places, so aliasing Foundation may be changing some subtle behaviors.

Resolves rdar://128897610.

Skip aliasing Foundation when `-alias-module-names-in-module-interface` is
specified since it appears to confuse the typechecker. The module name
"Foundation" is hardcoded and checked in several places, so aliasing Foundation
may be changing some subtle behaviors.

Resolves rdar://128897610.
@tshortli tshortli requested a review from xymus September 5, 2024 03:30
@tshortli tshortli requested a review from artemcm as a code owner September 5, 2024 03:30
@tshortli
Copy link
Contributor Author

tshortli commented Sep 5, 2024

@swift-ci please smoke test

@tshortli
Copy link
Contributor Author

tshortli commented Sep 5, 2024

swiftlang/swift-testing#663

@swift-ci please smoke test Windows

@tshortli tshortli enabled auto-merge September 5, 2024 16:45
@tshortli tshortli merged commit ddef726 into swiftlang:main Sep 5, 2024
3 checks passed
@tshortli tshortli deleted the module-alias-foundation branch September 5, 2024 19:48
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.

3 participants