mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #19560 from slavapestov/remove-functype-getinput
Remove FunctionType::getInput()
This commit is contained in:
@@ -1044,7 +1044,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