mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IDE: Replace some calls to getDeclaredType() with getDeclaredInterfaceType()
This commit is contained in:
@@ -1518,7 +1518,7 @@ SwiftDeclCollector::constructTypeNode(Type T, TypeInitInfo Info) {
|
||||
Root->addChild(constructTypeNode(MTT->getInstanceType()));
|
||||
} else if (auto ATT = T->getAs<ArchetypeType>()) {
|
||||
for (auto Pro : ATT->getConformsTo()) {
|
||||
Root->addChild(constructTypeNode(Pro->getDeclaredType()));
|
||||
Root->addChild(constructTypeNode(Pro->getDeclaredInterfaceType()));
|
||||
}
|
||||
}
|
||||
return Root;
|
||||
|
||||
Reference in New Issue
Block a user