From 4e1e79fbcbb85de9ed722c656457863f293eea33 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Mon, 28 Jan 2019 00:03:16 -0500 Subject: [PATCH] all tests passing --- src/compile/Component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compile/Component.ts b/src/compile/Component.ts index 8d32e7a2cd..3a268e5d1b 100644 --- a/src/compile/Component.ts +++ b/src/compile/Component.ts @@ -551,7 +551,8 @@ export default class Component { this.add_var({ name, kind, - module: true + module: true, + hoistable: true }); } }); @@ -794,7 +795,6 @@ export default class Component { }); coalesced_declarations.forEach(group => { - const kind = group[0].kind; let c = 0; let combining = false;