mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename arguments to paramaters and returns to returnVariables.
This commit is contained in:
@@ -144,17 +144,17 @@ string AsmPrinter::operator()(assembly::FunctionDefinition const& _functionDefin
|
||||
{
|
||||
string out = "function " + _functionDefinition.name + "(";
|
||||
out += boost::algorithm::join(
|
||||
_functionDefinition.arguments | boost::adaptors::transformed(
|
||||
_functionDefinition.parameters | boost::adaptors::transformed(
|
||||
[this](TypedName argument) { return argument.name + appendTypeName(argument.type); }
|
||||
),
|
||||
", "
|
||||
);
|
||||
out += ")";
|
||||
if (!_functionDefinition.returns.empty())
|
||||
if (!_functionDefinition.returnVariables.empty())
|
||||
{
|
||||
out += " -> ";
|
||||
out += boost::algorithm::join(
|
||||
_functionDefinition.returns | boost::adaptors::transformed(
|
||||
_functionDefinition.returnVariables | boost::adaptors::transformed(
|
||||
[this](TypedName argument) { return argument.name + appendTypeName(argument.type); }
|
||||
),
|
||||
", "
|
||||
|
||||
Reference in New Issue
Block a user