[Sol->Yul] Fixing nested bytes array push.

This commit is contained in:
Djordje Mijovic
2021-01-14 10:32:31 +01:00
parent fe344ed6e5
commit 7c45509a77
4 changed files with 42 additions and 3 deletions
@@ -1325,8 +1325,7 @@ void IRGeneratorForStatements::endVisit(FunctionCall const& _functionCall)
m_utils.storageArrayPushFunction(arrayType, &argument.type()) <<
"(" <<
IRVariable(_functionCall.expression()).commaSeparatedList() <<
", " <<
argument.commaSeparatedList() <<
(argument.stackSlots().empty() ? "" : (", " + argument.commaSeparatedList())) <<
")\n";
}
break;