mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
swift-module-digester: always canonicalize super class types.
This commit is contained in:
@@ -978,7 +978,7 @@ SDKNodeInitInfo::SDKNodeInitInfo(SDKContext &Ctx, ValueDecl *VD)
|
||||
if (auto *Super = CD->getSuperclassDecl()) {
|
||||
SuperclassUsr = calculateUsr(Ctx, Super);
|
||||
for (auto T = CD->getSuperclass(); T; T = T->getSuperclass()) {
|
||||
SuperclassNames.push_back(getPrintedName(Ctx, T));
|
||||
SuperclassNames.push_back(getPrintedName(Ctx, T->getCanonicalType()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user