mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -432,7 +432,7 @@ namespace {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // end anonymous namespace
|
||||
|
||||
bool ConformanceLookupTable::addProtocol(NominalTypeDecl *nominal,
|
||||
ProtocolDecl *protocol, SourceLoc loc,
|
||||
@@ -801,8 +801,7 @@ ProtocolConformance *ConformanceLookupTable::getConformance(
|
||||
return nullptr;
|
||||
|
||||
auto *conformingNominal =
|
||||
cast<NominalTypeDecl>(conformingDC->
|
||||
getAsGenericTypeOrGenericTypeExtensionContext());
|
||||
conformingDC->getAsNominalTypeOrNominalTypeExtensionContext();
|
||||
|
||||
// Form the conformance.
|
||||
Type type = entry->getDeclContext()->getDeclaredTypeInContext();
|
||||
|
||||
Reference in New Issue
Block a user