mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Replace remaining uses of FunctionType::getInput() with getParams()
This commit is contained in:
@@ -1080,7 +1080,11 @@ SwiftDeclCollector::constructTypeNode(Type T,
|
||||
|
||||
// Still, return type first
|
||||
Root->addChild(constructTypeNode(Fun->getResult()));
|
||||
Root->addChild(constructTypeNode(Fun->getInput()));
|
||||
|
||||
auto Input = AnyFunctionType::composeInput(Fun->getASTContext(),
|
||||
Fun->getParams(),
|
||||
/*canonicalVararg=*/false);
|
||||
Root->addChild(constructTypeNode(Input));
|
||||
return Root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user