Skip to content

Commit 678ba79

Browse files
committed
WIP
1 parent bf5b721 commit 678ba79

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors/shared

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export function build_expression(context, expression, metadata, state = context.
381381
const sequence = b.sequence([]);
382382

383383
for (const binding of metadata.references) {
384-
if (binding.kind === 'normal') {
384+
if (binding.kind === 'normal' && binding.declaration_kind !== 'import') {
385385
continue;
386386
}
387387

0 commit comments

Comments
 (0)