mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Runtime: Use accessor method to get TargetWitnessTable::Description
This commit is contained in:
@@ -89,7 +89,7 @@ static const Metadata *findHashableBaseTypeImpl(const Metadata *type) {
|
||||
return nullptr;
|
||||
}
|
||||
// By this point, `type` is known to conform to `Hashable`.
|
||||
const auto *conformance = witnessTable->Description;
|
||||
const auto *conformance = witnessTable->getDescription();
|
||||
const Metadata *baseTypeThatConformsToHashable =
|
||||
findConformingSuperclass(type, conformance);
|
||||
HashableConformances.getOrInsert(HashableConformanceKey{type},
|
||||
|
||||
Reference in New Issue
Block a user