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; }