From 295675d7f1ef753c46cb273751fc2d43eca6e4a4 Mon Sep 17 00:00:00 2001 From: ekhaled Date: Mon, 23 Jul 2018 17:04:38 +0100 Subject: [PATCH] closes #1589 --- src/compile/nodes/IfBlock.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compile/nodes/IfBlock.ts b/src/compile/nodes/IfBlock.ts index 4852950429..2a5a49af16 100644 --- a/src/compile/nodes/IfBlock.ts +++ b/src/compile/nodes/IfBlock.ts @@ -90,6 +90,9 @@ export default class IfBlock extends Node { dynamic = true; block.addDependencies(node.else.block.dependencies); } + + if (node.else.block.hasIntros) hasIntros = true; + if (node.else.block.hasOutros) hasOutros = true; } }