diff --git a/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts b/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts index 8be44aa023..c3aa04960e 100644 --- a/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts +++ b/src/compiler/compile/render_dom/wrappers/shared/bind_this.ts @@ -11,7 +11,7 @@ export default function bind_this(component: Component, block: Block, binding: B block.renderer.add_to_context(fn.name); const callee = block.renderer.reference(fn.name); - const { contextual_dependencies, mutation, lhs } = binding.handler; + const { contextual_dependencies, mutation } = binding.handler; const dependencies = binding.get_dependencies(); const body = b` diff --git a/test/runtime/samples/binding-this-each-block-property-2/main.svelte b/test/runtime/samples/binding-this-each-block-property-2/main.svelte index a7dd4f971e..bc1efe725c 100644 --- a/test/runtime/samples/binding-this-each-block-property-2/main.svelte +++ b/test/runtime/samples/binding-this-each-block-property-2/main.svelte @@ -1,7 +1,7 @@ {#each refs as xxx} -
+ {/each} \ No newline at end of file