Skip to content

Conversation

@DougGregor
Copy link
Member

When looking up a conformance in a substitution map, check whether
there is a superclass constraint that satisfies the conformance. If
so, use it directly rather than going through a slower path to find
it.

Addresses rdar://problem/46655186.

…y, use it.

When looking up a conformance in a substitution map, check whether
there is a superclass constraint that satisfies the conformance. If
so, use it directly rather than going through a slower path to find
it.

Addresses rdar://problem/46655186.
@DougGregor DougGregor requested a review from a team as a code owner December 21, 2018 23:35
@DougGregor DougGregor changed the title [5.0] [Substitution map] When the superclass conforms to a protocol directly, use it [5.0 12-12] [Substitution map] When the superclass conforms to a protocol directly, use it Dec 21, 2018
@AnnaZaks AnnaZaks merged commit 695e2ec into swiftlang:swift-5.0-branch-12-12-2018 Dec 22, 2018
@DougGregor DougGregor deleted the submap-superclass-conformance-5.0-12-12-2018 branch December 25, 2018 06:14
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