mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove validateDeclForNameLookup
Flush it and the early validation hack now that we can delay computing the underlying interface type on demand and have taught type resolution to honor the structural type of a typealias. This changes the way requirement signatures are spelled as a side effect.
This commit is contained in:
@@ -1679,7 +1679,7 @@ SwiftDeclCollector::constructVarNode(ValueDecl *VD) {
|
||||
SDKNode *swift::ide::api::
|
||||
SwiftDeclCollector::constructTypeAliasNode(TypeAliasDecl *TAD) {
|
||||
auto Alias = SDKNodeInitInfo(Ctx, TAD).createSDKNode(SDKNodeKind::DeclTypeAlias);
|
||||
Alias->addChild(constructTypeNode(TAD->getUnderlyingTypeLoc().getType()));
|
||||
Alias->addChild(constructTypeNode(TAD->getUnderlyingType()));
|
||||
return Alias;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user