Skip to content

Add package name to public swiftinterface #69517

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 5 commits into from
Oct 31, 2023
Merged

Add package name to public swiftinterface #69517

merged 5 commits into from
Oct 31, 2023

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Oct 30, 2023

Package name is only printed in private swiftinterface. This causes
ambiguity during lookup when there are multiple public or inlinalbe
package decls in public interfaces. This PR adds a package name to
public swiftinterface and lets typecheck look up the package name
to narrow down the scope of access to package decls from an external
module.

Resolves rdar://117699160

ambiguity during lookup when there are multiple public or inlinalbe
package decls in public interfaces. This PR adds a package name to
public swiftinterface and lets typecheck look up the package name
to narrow down the scope of access to package decls from an external
module.

Resolves rdar://117699160
@elsh
Copy link
Contributor Author

elsh commented Oct 30, 2023

@swift-ci smoke test

Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the quick fix, Ellie! Some minor comments inline.

@elsh
Copy link
Contributor Author

elsh commented Oct 30, 2023

@swift-ci smoke test

Copy link
Contributor

@xymus xymus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. Thank you!

@elsh
Copy link
Contributor Author

elsh commented Oct 30, 2023

@swift-ci smoke test linux

@elsh
Copy link
Contributor Author

elsh commented Oct 31, 2023

@swift-ci smoke test

@elsh
Copy link
Contributor Author

elsh commented Oct 31, 2023

@swift-ci smoke test

@elsh
Copy link
Contributor Author

elsh commented Oct 31, 2023

Blocked by "fatal error: module map file 'llbuildBasic.build/module.modulemap' not found" error on CI cc @shahmishal

@nkcsgexi
Copy link
Contributor

@swift-ci Please smoke test OS X platform

@elsh elsh merged commit 65e94cd into main Oct 31, 2023
@elsh elsh deleted the es-pkg-in-public branch October 31, 2023 19:27
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.

4 participants