diff --git a/lib/compiler/passes/generate-bytecode.js b/lib/compiler/passes/generate-bytecode.js index f2d00ba..3a88b29 100644 --- a/lib/compiler/passes/generate-bytecode.js +++ b/lib/compiler/passes/generate-bytecode.js @@ -364,7 +364,11 @@ module.exports = function(ast, options) { processedCount = node.elements.length - elements.slice(1).length; return buildSequence( - generate(elements[0], context), + generate(elements[0], { + sp: context.sp, + env: context.env, + action: null + }), buildCondition( [op.IF_NOT_ERROR], buildElementsCode(elements.slice(1), {