aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--LValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LValue.cpp b/LValue.cpp
index f3be8678..40944663 100644
--- a/LValue.cpp
+++ b/LValue.cpp
@@ -240,7 +240,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc
dynamic_cast<ArrayType const&>(m_dataType),
dynamic_cast<ArrayType const&>(_sourceType));
if (_move)
- utils.popStackElement(_sourceType);
+ utils.popStackElement(m_dataType);
}
else if (m_dataType.getCategory() == Type::Category::Struct)
{