From 6059d2075075885e60e1ee63f37985ccbddab7d9 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 30 Jun 2015 21:03:23 +0200 Subject: [PATCH] Fix for copying arrays to storage. --- LValue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LValue.cpp b/LValue.cpp index f3be86783..409446638 100644 --- a/LValue.cpp +++ b/LValue.cpp @@ -240,7 +240,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc dynamic_cast(m_dataType), dynamic_cast(_sourceType)); if (_move) - utils.popStackElement(_sourceType); + utils.popStackElement(m_dataType); } else if (m_dataType.getCategory() == Type::Category::Struct) {