Skip to content

[5.8] Disable implementationOnly Foundation import for resource accessor #6055

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
Jan 23, 2023

Conversation

neonichu
Copy link
Contributor

This was a change that landed in #5728 but it has the unintended consequence of generating unfixable warnings for packages which do import Foundation. We can probably solve that with import scanning to decide between the two import types, but given where we are in the 5.8 schedule, this seems to be something better done for a future manifest version.

(cherry picked from commit cb9d03b)

…5997)

This was a change that landed in #5728 but it has the unintended consequence of generating unfixable warnings for packages which do import Foundation. We can probably solve that with import scanning to decide between the two import types, but given where we are in the 5.8 schedule, this seems to be something better done for a future manifest version.

(cherry picked from commit cb9d03b)
@neonichu neonichu added the swift 5.8 This PR targets the 5.8 branch label Jan 17, 2023
@neonichu neonichu self-assigned this Jan 17, 2023
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test Windows

@neonichu neonichu changed the title Disable implementationOnly Foundation import for resource accessor [5.8] Disable implementationOnly Foundation import for resource accessor Jan 18, 2023
@neonichu neonichu merged commit 4f2a2eb into release/5.8 Jan 23, 2023
@neonichu neonichu deleted the disable-implicit-foundation-5.8 branch January 23, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift 5.8 This PR targets the 5.8 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants