aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ArrayUtils.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-11-18 07:22:09 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-11-28 17:51:02 +0800
commitf1bc979c0f2586b69909f36af48362d7dc9da9e7 (patch)
tree836182056e37c843b020ede2512215f3f2e14564 /libsolidity/codegen/ArrayUtils.cpp
parent9c2ed33e9aa2e2f037cbe4fa7491bf4bd8b5616b (diff)
downloaddexon-solidity-f1bc979c0f2586b69909f36af48362d7dc9da9e7.tar.gz
dexon-solidity-f1bc979c0f2586b69909f36af48362d7dc9da9e7.tar.zst
dexon-solidity-f1bc979c0f2586b69909f36af48362d7dc9da9e7.zip
Use solUnimplemented wherever possible
Diffstat (limited to 'libsolidity/codegen/ArrayUtils.cpp')
-rw-r--r--libsolidity/codegen/ArrayUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp
index c0eb736a..2c982982 100644
--- a/libsolidity/codegen/ArrayUtils.cpp
+++ b/libsolidity/codegen/ArrayUtils.cpp
@@ -200,7 +200,7 @@ void ArrayUtils::copyArrayToStorage(ArrayType const& _targetType, ArrayType cons
else if (sourceBaseType->isValueType())
CompilerUtils(m_context).loadFromMemoryDynamic(*sourceBaseType, fromCalldata, true, false);
else
- solAssert(false, "Copying of type " + _sourceType.toString(false) + " to storage not yet supported.");
+ solUnimplemented("Copying of type " + _sourceType.toString(false) + " to storage not yet supported.");
// 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->sizeOnStack() <= 16,