Skip to content

Revert "[PrintAsObjC] Don't include the module for empty extensions" #30944

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

Conversation

DougGregor
Copy link
Member

This reverts commit 8f01b2c. While it is absolutely reasonable to prune the generated Swift header by not emitting unnecessary module imports,
some Objective-C code has come to rely on these. Fixes rdar://problem/61415191

@DougGregor DougGregor requested a review from xymus April 10, 2020 07:10
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test Linux

@DougGregor DougGregor merged commit 674490a into swiftlang:master Apr 14, 2020
@DougGregor DougGregor deleted the import-module-for-empty-extensions branch April 14, 2020 15:57
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