Skip to content

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jan 29, 2025

…ome from implicit imports

Ignore declarations that come from implicitly imported modules when MemberImportVisibility
feature is enabled otherwise we might end up favoring an overload that would be diagnosed as unavailable later.

Resolves: rdar://143582881

@xedin xedin requested a review from tshortli January 29, 2025 08:21
@xedin
Copy link
Contributor Author

xedin commented Jan 29, 2025

Reproducer is from #78999, thanks @tshortli !

@xedin
Copy link
Contributor Author

xedin commented Jan 29, 2025

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Jan 29, 2025

@swift-ci please test source compatibility

@tshortli
Copy link
Contributor

The source compatibility suite failures are unrelated. I've fixed them here: swift-server/async-http-client#804

…ome from implicit imports

Ignore declarations that come from implicitly imported modules
when `MemberImportVisibility` feature is enabled otherwise
we might end up favoring an overload that would be diagnosed
as unavailable later.

Resolves: rdar://143582881
@xedin
Copy link
Contributor Author

xedin commented Jan 29, 2025

@swift-ci please smoke test

@xedin xedin merged commit 654d39b into swiftlang:main Jan 29, 2025
3 checks passed
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.

2 participants