Skip to content

[5.3][PrintAsObjC] Don't print imports for empty extensions #31186

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 2 commits into from
Apr 22, 2020

Conversation

xymus
Copy link
Contributor

@xymus xymus commented Apr 21, 2020

Cherry-pick of #31165 for 5.3. (Resubmitting #30306 now that the blockers for #30944 should have been fixed)


Fix an issue in generated compatibility headers where an extension that is not printed would still trigger the inclusion of the extended type's origin module. This was mostly noticeable with @implementationOnly imports when imported types were extended with only private members.

rdar://problem/57133517

@xymus
Copy link
Contributor Author

xymus commented Apr 21, 2020

@swift-ci Please smoke test

@xymus
Copy link
Contributor Author

xymus commented Apr 22, 2020

@swift-ci please smoke test Linux

@xymus
Copy link
Contributor Author

xymus commented Apr 22, 2020

@swift-ci please test Windows platform

@xymus
Copy link
Contributor Author

xymus commented Apr 22, 2020

@swift-ci Please test

@xymus xymus merged commit b3af8f5 into swiftlang:release/5.3 Apr 22, 2020
@xymus xymus deleted the print-less-objc-imports branch April 22, 2020 14:53
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants