mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[TypeInterface] When printing type-specific interfaces, replace parameter and return types with instantiated types.
This commit is contained in:
@@ -391,7 +391,8 @@ static bool passCursorInfoForDecl(const ValueDecl *VD,
|
||||
Info.OverrideUSRs = OverUSRs;
|
||||
Info.AnnotatedRelatedDeclarations = AnnotatedRelatedDecls;
|
||||
Info.IsSystem = IsSystem;
|
||||
Info.TypeInteface = ASTPrinter::printTypeInterface(Ty, TypeInterface) ?
|
||||
Info.TypeInteface = ASTPrinter::printTypeInterface(Ty, VD->getDeclContext(),
|
||||
TypeInterface) ?
|
||||
StringRef(TypeInterface) : StringRef();
|
||||
Receiver(Info);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user