mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed string inside struct allocation bug.
This commit is contained in:
1 parent
588e4232eb
commit
68f1da1e3a
6 files changed
+8
-14
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user