Skip to content

rdar://problem/26396895 Clang importer: Fix the 'self' type of imported ObjC generic members. #2732

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

Conversation

jckarter
Copy link
Contributor

A variable was called selfInterfaceType even though it was inconsistently set to a contextual Self archetype for protocols, and an interface type for nominal types, and the one place we used the type expected to work with contextual types. Fixes rdar://problem/26396895.

A variable was called `selfInterfaceType` even though it was inconsistently set to a contextual Self archetype for protocols, and an interface type for nominal types, and the one place we used the type expected to work with contextual types. Fixes rdar://problem/26396895.
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter
Copy link
Contributor Author

@jrose-apple Does this look good for 3.0?

@tkremenek
Copy link
Member

@swift-ci smoke test os x platform

@jckarter
Copy link
Contributor Author

swiftpm build failures look unrelated. @mxcl @ddunbar Might be a file system race condition?

@ddunbar
Copy link
Contributor

ddunbar commented May 27, 2016

I think you might be right -- the integration tests are running with a test root in a fixed /tmp/ location, maybe we started running multiple ones on the same machine?

@ddunbar
Copy link
Contributor

ddunbar commented May 27, 2016

@swift-ci please test linux

@jrose-apple
Copy link
Contributor

I feel like there was some reason ChrisW and I originally thought that this was an improvement, but now I can't remember it, and obviously all the other tests are passing. Looks good.

@ddunbar
Copy link
Contributor

ddunbar commented May 27, 2016

Tests passed. I filed:
https://bugs.swift.org/browse/SR-1628
for the integration-tests problem.

@tkremenek tkremenek merged commit 634eb63 into swiftlang:swift-3.0-preview-1-branch May 27, 2016
@jckarter jckarter deleted the objc-generic-protocol-conformance-3.0 branch May 27, 2016 15:54
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.

4 participants