From 4d677151ab7f08e4f718f983f7d706432dc31f59 Mon Sep 17 00:00:00 2001 From: ComputerGuy <63362464+Ocean-OS@users.noreply.github.com> Date: Fri, 1 Aug 2025 23:13:43 -0700 Subject: [PATCH] maybe this works? --- .../phases/2-analyze/visitors/Fragment.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/svelte/src/compiler/phases/2-analyze/visitors/Fragment.js b/packages/svelte/src/compiler/phases/2-analyze/visitors/Fragment.js index 4916c8910e..4a2d621629 100644 --- a/packages/svelte/src/compiler/phases/2-analyze/visitors/Fragment.js +++ b/packages/svelte/src/compiler/phases/2-analyze/visitors/Fragment.js @@ -7,23 +7,23 @@ */ export function Fragment(node, context) { const parent = /** @type {AST.TemplateNode} */ (context.path.at(-1)); - if ( - !parent || - parent.type === 'Component' || - parent.type === 'Root' || - parent.type === 'IfBlock' || - parent.type === 'KeyBlock' || - parent.type === 'EachBlock' || - parent.type === 'SnippetBlock' || - parent.type === 'AwaitBlock' - ) { + // if ( + // !parent || + // parent.type === 'Component' || + // parent.type === 'Root' || + // parent.type === 'IfBlock' || + // parent.type === 'KeyBlock' || + // parent.type === 'EachBlock' || + // parent.type === 'SnippetBlock' || + // parent.type === 'AwaitBlock' + // ) { const fragment_metadata = { has_await: false, node }; context.next({ ...context.state, fragment: fragment_metadata }); node.metadata.has_await = fragment_metadata.has_await; - } else { - context.next(); - } + // } else { + // context.next(); + // } }