aboutsummaryrefslogtreecommitdiffstats
path: root/LValue.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-03-06 20:00:54 +0800
committerchriseth <c@ethdev.com>2015-03-06 20:17:52 +0800
commit11e943fc6a23c78279fcda01fb5acdc28c6fd6e3 (patch)
tree86445b5d10a62387c4231ce6f446a8e321763492 /LValue.cpp
parentd8b156ecbbb4d470ba3432975694585dd5a019e2 (diff)
downloaddexon-solidity-11e943fc6a23c78279fcda01fb5acdc28c6fd6e3.tar.gz
dexon-solidity-11e943fc6a23c78279fcda01fb5acdc28c6fd6e3.tar.zst
dexon-solidity-11e943fc6a23c78279fcda01fb5acdc28c6fd6e3.zip
Fix for arrays containing mappings.
Diffstat (limited to 'LValue.cpp')
-rw-r--r--LValue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/LValue.cpp b/LValue.cpp
index 7a81ff92..a036be80 100644
--- a/LValue.cpp
+++ b/LValue.cpp
@@ -212,6 +212,7 @@ void StorageItem::setToZero(SourceLocation const&, bool _removeReference) const
}
else
{
+ solAssert(m_dataType.isValueType(), "Clearing of unsupported type requested: " + m_dataType.toString());
if (m_size == 0 && _removeReference)
m_context << eth::Instruction::POP;
else if (m_size == 1)