Commit Graph

2 Commits

Author SHA1 Message Date
Doug Gregor
4ed8bf5532 New test requires ObjC support 2017-04-17 06:15:25 -07:00
Doug Gregor
a892e89922 [GSB] Simplify and clean up RequirementSource::isSelfDerivedSource().
Reimplement isSelfDerivedSource() in terms of the new
visitPotentialArchetypesAlongPath(). Aside from being clearer and
shorter, this formulation eliminates some hackery (the direct
"NestedType" lookup) that was mostly masking a bug in
updateNestedTypeForConformance() where we created a
nested-type-name-match source with an incorrect source for the
purposes of concretizing the nested type.

Fixes SR-4458 / rdar://problem/31375569.
2017-04-16 23:05:28 -07:00