Skip to content

[PrintAsObjC] Use of imported generics require the full definition. #5518

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

I'm not sure why this didn't occur to me in 8282160: of course if you see a generic type with arguments, you need to see the @interface for that type in order to supply the arguments. Maybe I was thinking the generated interface would automatically import anything the module itself imports, but that hasn't ever been true.

rdar://problem/28738008

I'm not sure why this didn't occur to me in 8282160: of course if you
see a generic type with arguments, you need to see the @interface for
that type in order to supply the arguments. Maybe I was thinking the
generated interface would automatically import anything the module
itself imports, but that hasn't ever been true.

rdar://problem/28738008
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test Linux platform

@jrose-apple
Copy link
Contributor Author

@swift-ci Please test macOS platform

@jrose-apple
Copy link
Contributor Author

@DougGregor, mind reviewing this to make sure I'm not making a terrible mistake?

@DougGregor
Copy link
Member

Yeah, this looks good.

@jrose-apple jrose-apple merged commit 7add05f into swiftlang:master Oct 31, 2016
@jrose-apple jrose-apple deleted the PrintAsObjC-generics-again branch October 31, 2016 17:34
jrose-apple added a commit to jrose-apple/swift that referenced this pull request Oct 31, 2016
…wiftlang#5518)

I'm not sure why this didn't occur to me in 8282160: of course if you
see a generic type with arguments, you need to see the @interface for
that type in order to supply the arguments. Maybe I was thinking the
generated interface would automatically import anything the module
itself imports, but that hasn't ever been true.

rdar://problem/28738008
ematejska pushed a commit that referenced this pull request Nov 1, 2016
…ics-again

[PrintAsObjC] Use of imported generics require the full definition. (#5518)
MaxDesiatov pushed a commit that referenced this pull request Sep 7, 2023
[pull] swiftwasm from main
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