From 1d23ef98a7756fad6d4fa2cdf56d9da2f8987865 Mon Sep 17 00:00:00 2001 From: "Benjamin W. Broersma" Date: Sun, 5 May 2019 22:16:17 +0200 Subject: [PATCH] Fixing #2689, however this makes 4 (or 8 with hydrate) tests fail. --- src/compile/render-dom/wrappers/EachBlock.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile/render-dom/wrappers/EachBlock.ts b/src/compile/render-dom/wrappers/EachBlock.ts index fe5d5746e55a..680f7d30d350 100644 --- a/src/compile/render-dom/wrappers/EachBlock.ts +++ b/src/compile/render-dom/wrappers/EachBlock.ts @@ -505,7 +505,7 @@ export default class EachBlockWrapper extends Wrapper { if (outro_block) { block.builders.outro.add_block(deindent` ${iterations} = ${iterations}.filter(Boolean); - for (let #i = 0; #i < ${view_length}; #i += 1) ${outro_block}(#i, 0);` + for (let #i = 0; #i < ${view_length}; #i += 1) ${outro_block}(#i, 0, local);` ); }