Skip to content

[3.0] Fixes for generic ObjC classes conforming to Swift protocols. #4356

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

jckarter
Copy link
Contributor

Fix a SILGen and IRGen bug that caused crashes and linker errors when ObjC generic classes conformed to Swift protocols. rdar://problem/27869089

So that we do the right thing with thunks for generic ObjC methods. Partially fixes rdar://problem/27869089.
They aren't really generic at runtime, so register them as conformances on the nongeneric class. Fixes rdar://problem/27869089.
@jckarter
Copy link
Contributor Author

@swift-ci Please test OS X

@tkremenek tkremenek self-assigned this Aug 17, 2016
@tkremenek tkremenek merged commit d6bed34 into swiftlang:swift-3.0-branch Aug 17, 2016
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