From eea1884fde42eaa5749adec5c63e6e415b6d75e1 Mon Sep 17 00:00:00 2001 From: Tom Shaw Date: Fri, 22 Oct 2021 20:54:07 +0100 Subject: [PATCH] added spread operator event bindings --- src/compiler/compile/nodes/InlineComponent.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/compile/nodes/InlineComponent.ts b/src/compiler/compile/nodes/InlineComponent.ts index e969ab6e25..bf7c58a327 100644 --- a/src/compiler/compile/nodes/InlineComponent.ts +++ b/src/compiler/compile/nodes/InlineComponent.ts @@ -133,10 +133,10 @@ export default class InlineComponent extends Node { } if (info.children.some(node => not_whitespace_text(node))) { - children.push({ + children.push({ start: info.start, end: info.end, - type: 'SlotTemplate', + type: 'SlotTemplate', name: 'svelte:fragment', attributes: [], children: info.children