Skip to content

[5.10] Add package name to public swiftinterface #69545

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
Nov 1, 2023
Merged

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Oct 31, 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 elsh requested a review from a team as a code owner October 31, 2023 19:41
@elsh
Copy link
Contributor Author

elsh commented Oct 31, 2023

@swift-ci test

@elsh elsh changed the title Add package name to public swiftinterface [5.10] Add package name to public swiftinterface Oct 31, 2023
@elsh elsh added swift 5.10 🍒 release cherry pick Flag: Release branch cherry picks labels Oct 31, 2023
@elsh elsh merged commit 3de51e3 into release/5.10 Nov 1, 2023
@elsh elsh deleted the es-pkg-public branch November 1, 2023 00:40
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 swift 5.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants