diff --git a/packages/svelte/src/compiler/phases/1-parse/read/expression.js b/packages/svelte/src/compiler/phases/1-parse/read/expression.js index 2c60df8194d7..82a667d38c59 100644 --- a/packages/svelte/src/compiler/phases/1-parse/read/expression.js +++ b/packages/svelte/src/compiler/phases/1-parse/read/expression.js @@ -63,8 +63,8 @@ export default function read_expression(parser, opening_token, disallow_loose) { return /** @type {Expression} */ (node); } catch (err) { - // If we are in an each loop we need the error to be thrown in cases like - // `as { y = z }` so we still throw and handle the error there + // If we are in an each loop we need the error to be thrown in cases like + // `as { y = z }` so we still throw and handle the error there if (parser.loose && !disallow_loose) { const expression = get_loose_identifier(parser, opening_token); if (expression) {