Skip to content

[5.0] [PrintAsObjC] Look through "compatibility" typealiases #20035

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

jrose-apple
Copy link
Contributor

Early cherry-pick of #20027 to the 5.0 branch, to fix an Apple-internal test. Reviewed by @DougGregor.

rdar://problem/45491607

These handle imported types that have been renamed in a /later/ Swift
version than the one being used; for consistency when deserializing
from a swiftmodule, the latest name is always used. This is important
because it might mean we can avoid importing the framework that a name
comes from; a forward declaration might be sufficient if it's an ObjC
class or protocol.

rdar://problem/45491607
(cherry picked from commit e34a6a1)
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test macOS

@jrose-apple jrose-apple merged commit 18fd7bd into swiftlang:swift-5.0-branch Oct 25, 2018
@jrose-apple jrose-apple deleted the 5.0-compatibly-yours branch October 25, 2018 18:00
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