Bugfix: static arrays in constructor arguments

This commit is contained in:
chriseth 2016-04-15 18:42:06 +02:00
parent c126ec84a3
commit b125090208

View File

@ -316,7 +316,7 @@ void Compiler::appendCalldataUnpacker(TypePointers const& _typeParameters, bool
}
else
{
m_context << Instruction::DUP1;
m_context << Instruction::SWAP1 << Instruction::DUP2;
m_context << u256(arrayType.calldataEncodedSize(true)) << Instruction::ADD;
}
}