aboutsummaryrefslogtreecommitdiffstats
path: root/ArrayUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ArrayUtils.cpp')
-rw-r--r--ArrayUtils.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ArrayUtils.cpp b/ArrayUtils.cpp
index 531ab8af..b770b815 100644
--- a/ArrayUtils.cpp
+++ b/ArrayUtils.cpp
@@ -168,7 +168,10 @@ void ArrayUtils::copyArrayToStorage(ArrayType const& _targetType, ArrayType cons
else
solAssert(false, "Copying of unknown type requested: " + sourceBaseType->toString());
// stack: target_ref target_data_end source_data_pos target_data_pos source_data_end [target_byte_offset] [source_byte_offset] <source_value>...
- solAssert(2 + byteOffsetSize + sourceBaseType->getSizeOnStack() <= 16, "Stack too deep.");
+ solAssert(
+ 2 + byteOffsetSize + sourceBaseType->getSizeOnStack() <= 16,
+ "Stack too deep, try removing local variables."
+ );
// fetch target storage reference
m_context << eth::dupInstruction(2 + byteOffsetSize + sourceBaseType->getSizeOnStack());
if (haveByteOffsetTarget)