From 5d76cddc05930a98f9169d78808bf36eaaabd1bc Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Thu, 14 Nov 2024 18:59:31 +0000 Subject: [PATCH] oops --- .../phases/2-analyze/visitors/BindDirective.js | 1 - .../src/lib/Input/ComponentSelector.svelte | 3 +-- .../src/lib/Input/ModuleEditor.svelte | 3 +-- .../svelte-5-preview/src/lib/Output/AstNode.svelte | 3 +-- .../src/lib/Output/CompilerOptions.svelte | 12 ++++++------ .../svelte-5-preview/src/lib/Output/Output.svelte | 9 ++++----- .../svelte-5-preview/src/lib/Output/Viewer.svelte | 3 +-- sites/svelte-5-preview/src/lib/Repl.svelte | 4 ++-- sites/svelte-5-preview/src/routes/+page.svelte | 3 +-- .../src/routes/docs/content/01-api/02-runes.md | 14 +++++++------- .../src/routes/docs/content/01-api/05-imports.md | 10 +++++----- .../02-examples/02-fine-grained-reactivity.md | 4 ++-- .../content/03-appendix/02-breaking-changes.md | 2 +- 13 files changed, 32 insertions(+), 39 deletions(-) diff --git a/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js b/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js index 94c1146ac1..2c54b0e48b 100644 --- a/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js +++ b/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js @@ -24,7 +24,6 @@ export function BindDirective(node, context) { validate_no_const_assignment(node, node.expression, context.state.scope, true); const assignee = node.expression; - const left = object(assignee); if (left === null) { diff --git a/sites/svelte-5-preview/src/lib/Input/ComponentSelector.svelte b/sites/svelte-5-preview/src/lib/Input/ComponentSelector.svelte index d9077c520a..7b95008712 100644 --- a/sites/svelte-5-preview/src/lib/Input/ComponentSelector.svelte +++ b/sites/svelte-5-preview/src/lib/Input/ComponentSelector.svelte @@ -248,8 +248,7 @@ { diff --git a/sites/svelte-5-preview/src/lib/Input/ModuleEditor.svelte b/sites/svelte-5-preview/src/lib/Input/ModuleEditor.svelte index bbd6ad6f53..d047d10637 100644 --- a/sites/svelte-5-preview/src/lib/Input/ModuleEditor.svelte +++ b/sites/svelte-5-preview/src/lib/Input/ModuleEditor.svelte @@ -21,8 +21,7 @@
{ if (error) { return [ diff --git a/sites/svelte-5-preview/src/lib/Output/AstNode.svelte b/sites/svelte-5-preview/src/lib/Output/AstNode.svelte index 9fb559a754..f99f21494c 100644 --- a/sites/svelte-5-preview/src/lib/Output/AstNode.svelte +++ b/sites/svelte-5-preview/src/lib/Output/AstNode.svelte @@ -77,8 +77,7 @@
  • generate: - + - +
  • css: - + - +
    }); diff --git a/sites/svelte-5-preview/src/lib/Output/Output.svelte b/sites/svelte-5-preview/src/lib/Output/Output.svelte index f86e5c3af1..ac6da48d3d 100644 --- a/sites/svelte-5-preview/src/lib/Output/Output.svelte +++ b/sites/svelte-5-preview/src/lib/Output/Output.svelte @@ -77,8 +77,7 @@
    {#if embedded} - + {:else}
    - +
    @@ -106,7 +105,7 @@
    - +
    diff --git a/sites/svelte-5-preview/src/lib/Output/Viewer.svelte b/sites/svelte-5-preview/src/lib/Output/Viewer.svelte index 887d09a29d..db506ada3b 100644 --- a/sites/svelte-5-preview/src/lib/Output/Viewer.svelte +++ b/sites/svelte-5-preview/src/lib/Output/Viewer.svelte @@ -254,8 +254,7 @@