Fixed string inside struct allocation bug.

This commit is contained in:
chriseth committed 2015-11-24 14:54:37 +01:00
1 parent 588e4232eb
commit 68f1da1e3a
6 files changed
+8 -14

No files matched your search

+1 -1
View File
@@ -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);