From 285f77e8a8a95f1e023d04480f7caf153ba441ec Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Thu, 14 Nov 2024 20:42:24 +0000 Subject: [PATCH] add comment --- .../src/compiler/phases/2-analyze/visitors/BindDirective.js | 1 + 1 file changed, 1 insertion(+) 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 e3c6629251..0af6e509cf 100644 --- a/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js +++ b/packages/svelte/src/compiler/phases/2-analyze/visitors/BindDirective.js @@ -122,6 +122,7 @@ export function BindDirective(node, context) { } } + // When dealing with bind getters/setters skip the specific binding validation if (Array.isArray(node.expression)) { return; }