diff options
author | chriseth <c@ethdev.com> | 2015-11-24 21:54:37 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-11-24 21:54:37 +0800 |
commit | 68f1da1e3ad6ab914e8f633ac7f661b38894ca2b (patch) | |
tree | 92850d5bd017c4eb2ecdd2da61eb8978f1ac1c31 /libsolidity/codegen/ArrayUtils.cpp | |
parent | 588e4232eb55d501aea5c7bff513843815b0fd52 (diff) | |
download | dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.tar.gz dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.tar.zst dexon-solidity-68f1da1e3ad6ab914e8f633ac7f661b38894ca2b.zip |
Fixed string inside struct allocation bug.
Diffstat (limited to 'libsolidity/codegen/ArrayUtils.cpp')
-rw-r--r-- | libsolidity/codegen/ArrayUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp index ba26caa6..f1acce31 100644 --- a/libsolidity/codegen/ArrayUtils.cpp +++ b/libsolidity/codegen/ArrayUtils.cpp @@ -271,7 +271,7 @@ void ArrayUtils::copyArrayToStorage(ArrayType const& _targetType, ArrayType cons void ArrayUtils::copyArrayToMemory(ArrayType const& _sourceType, bool _padToWordBoundaries) const { solAssert( - _sourceType.baseType()->calldataEncodedSize() > 0, + !_sourceType.baseType()->isDynamicallySized(), "Nested dynamic arrays not implemented here." ); CompilerUtils utils(m_context); |