Skip to content
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

[IRGen] Always get the CanType of a conformance's contextual type #14928

Merged
merged 1 commit into from Mar 2, 2018

Conversation

hamishknight
Copy link
Collaborator

The conformance type's contextual type might not be canonical, such as in the case of substituting a typealias type for a generic placeholder, so ensure we get the canonical type for the conformance.

Resolves SR-7101.

@hamishknight hamishknight changed the title [IRGen] Always get the CanType of a conformance's type when mapping into context [IRGen] Always get the CanType of a conformance's contextual type Mar 2, 2018
The conformance type's contextual type might not be canonical, such as in the case of substituting a `typealias` type for a generic placeholder, so ensure we get the canonical type for the conformance.
@DougGregor
Copy link
Member

@swift-ci please smoke test and merge

@DougGregor
Copy link
Member

LGTM, thanks!

@hamishknight
Copy link
Collaborator Author

@DougGregor Thanks for the prompt review! Looks like the CI bot failed to merge automatically, could you please kick it off again or merge manually?

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.

None yet

3 participants