mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove ArchetypeType::isSelfDerived()
This commit is contained in:
@@ -446,10 +446,8 @@ namespace {
|
||||
if (implArchetype->hasNestedType(member->getName())) {
|
||||
nestedType = implArchetype->getNestedType(member->getName());
|
||||
archetype = nestedType.getValue()->getAs<ArchetypeType>();
|
||||
} else if (implArchetype->isSelfDerived()) {
|
||||
archetype = implArchetype;
|
||||
}
|
||||
|
||||
|
||||
ConstraintLocator *locator;
|
||||
if (archetype) {
|
||||
locator = CS.getConstraintLocator(
|
||||
|
||||
Reference in New Issue
Block a user