mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix for copying arrays to storage.
This commit is contained in:
parent
cad3379306
commit
6059d20750
@ -240,7 +240,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc
|
|||||||
dynamic_cast<ArrayType const&>(m_dataType),
|
dynamic_cast<ArrayType const&>(m_dataType),
|
||||||
dynamic_cast<ArrayType const&>(_sourceType));
|
dynamic_cast<ArrayType const&>(_sourceType));
|
||||||
if (_move)
|
if (_move)
|
||||||
utils.popStackElement(_sourceType);
|
utils.popStackElement(m_dataType);
|
||||||
}
|
}
|
||||||
else if (m_dataType.getCategory() == Type::Category::Struct)
|
else if (m_dataType.getCategory() == Type::Category::Struct)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user