Skip to content

Frontend: Remove -disable-print-package-name-for-non-package-interface #77425

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

tshortli
Copy link
Contributor

@tshortli tshortli commented Nov 6, 2024

It is unsound to expose package declarations in textual interfaces without a package identity for them to belong to so we should not offer this flag.

Resolves rdar://139361524.

It is unsound to expose `package` declarations in textual interfaces without a
package identity for them to belong to so we should not offer this flag.

Resolves rdar://139361524.
@tshortli
Copy link
Contributor Author

tshortli commented Nov 6, 2024

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge November 6, 2024 21:03
@elsh
Copy link
Contributor

elsh commented Nov 6, 2024

Please remove the flag from test/Sema/package_enums_treat_exhaustive.swift

@tshortli
Copy link
Contributor Author

tshortli commented Nov 6, 2024

Please remove the flag from test/Sema/package_enums_treat_exhaustive.swift

I think it is in the PR - am I missing it somewhere?

@tshortli tshortli merged commit 79725e3 into swiftlang:main Nov 6, 2024
3 checks passed
@tshortli tshortli deleted the remove-disable-print-package-name-for-non-package-interface branch November 6, 2024 23:12
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