Skip to content

Commit c72a659

Browse files
committed
fix: add missing visit for expressions
1 parent c827b0c commit c72a659

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ function serialize_inline_component(node, component_name, context) {
775775
const assignment = b.assignment('=', attribute.expression, b.id('$$value'));
776776
push_prop(
777777
b.set(attribute.name, [
778-
b.stmt(serialize_set_binding(assignment, context, () => assignment))
778+
b.stmt(serialize_set_binding(assignment, context, () => context.visit(assignment)))
779779
])
780780
);
781781
}

0 commit comments

Comments
 (0)