Adding bytes.concat function type.

This commit is contained in:
Djordje Mijovic
2021-03-24 11:49:21 +01:00
parent a27c9c39b2
commit 1493326e48
4 changed files with 27 additions and 0 deletions
@@ -1021,6 +1021,12 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
ArrayUtils(m_context).popStorageArrayElement(*arrayType);
break;
}
case FunctionType::Kind::BytesConcat:
{
_functionCall.expression().accept(*this);
solUnimplementedAssert(false, "Bytes concat not implemented in codegen yet.");
break;
}
case FunctionType::Kind::ObjectCreation:
{
ArrayType const& arrayType = dynamic_cast<ArrayType const&>(*_functionCall.annotation().type);