Skip to content

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Aug 8, 2024

When MemberImportVisibility is enabled, if the import that would bring a member declaration into scope is missing it is diagnosed as an error. The existing resilience diagnostics that would also diagnose the same problem in contexts that are visible in the module interface are therefore superflous with the feature enabled.

…mportVisibility`.

When `MemberImportVisibility` is enabled, if the import that would bring a
member declaration into scope is missing it is diagnosed as an error. The
existing resilience diagnostics that would also diagnose the same problem in
contexts that are visible in the module interface are therefore superflous with
the feature enabled.
@tshortli tshortli force-pushed the superfluous-not-imported-here-diags branch from 85d0b19 to 7e1eac7 Compare August 8, 2024 01:17
@tshortli
Copy link
Contributor Author

tshortli commented Aug 8, 2024

@swift-ci please smoke test

@tshortli tshortli requested a review from xymus August 8, 2024 01:17
@tshortli tshortli merged commit 6e4e111 into swiftlang:main Aug 8, 2024
@tshortli tshortli deleted the superfluous-not-imported-here-diags branch August 8, 2024 16:20
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.

1 participant