From cc67c882ecbc674f437db32157d2826f0056716e Mon Sep 17 00:00:00 2001 From: dimitri Date: Tue, 26 Mar 2019 09:17:58 +0000 Subject: [PATCH] BLOCKS: Fixed a bug in Littlefoot Array assignment --- modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h b/modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h index f771790da1..174fa74e17 100644 --- a/modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h +++ b/modules/juce_blocks_basics/littlefoot/juce_LittleFootCompiler.h @@ -2144,7 +2144,7 @@ private: if (auto a = dynamic_cast (target)) { - cg.emitArrayElementIndex (a, parentBlock, stackDepth, location); + cg.emitArrayElementIndex (a, parentBlock, ++stackDepth, location); cg.emit (OpCode::setHeapInt); } else