Skip to content

Commit 9a33b00

Browse files
committed
[AST] Use getPointer() to compare the types in OverrideSignatureKey
1 parent 603a5df commit 9a33b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/ASTContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ template <> struct DenseMapInfo<swift::ASTContext::OverrideSignatureKey> {
964964
const OverrideSignatureKey rhs) {
965965
return lhs.baseMethodSig == rhs.baseMethodSig &&
966966
lhs.derivedClassSig == rhs.derivedClassSig &&
967-
lhs.superclassTy.getString() == rhs.superclassTy.getString();
967+
lhs.superclassTy.getPointer() == rhs.superclassTy.getPointer();
968968
}
969969

970970
static inline OverrideSignatureKey getEmptyKey() {

0 commit comments

Comments
 (0)