Skip to content
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

Limit loading error when importing a module built from interface with package-name #65481

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

elsh
Copy link
Contributor

@elsh elsh commented Apr 27, 2023

Currently it errors when loading a module built from interface if it has package-name.
This disallows building an interface file that imports such module which should be allowed
since interface does not contain package symbols unless usableFromInline or inlinable.
This change limits erroring only when building a .swift file.

Resolves rdar://108633068

…has package-name.

This disallows building an interface file that imports such module which should be allowed
since interface does not contain package symbols unless usableFromInline or inlinable.
This change limits erroring only when building a .swift file.

Resolves rdar://108633068
@elsh elsh requested review from nkcsgexi, xymus, beccadax, artemcm and tshortli and removed request for xedin, slavapestov, artemcm and hborla April 27, 2023 23:26
@elsh
Copy link
Contributor Author

elsh commented Apr 27, 2023

@swift-ci smoke test

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.

None yet

2 participants