Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6b99c6

Browse files
committedMay 28, 2025·
remove nonsensical comment, this is unused in spread
1 parent 61b7d41 commit e6b99c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ function build_element_special_value_attribute(element, node_id, attribute, cont
626626
? // if is a select with value we will also invoke `init_select` which need a reference before the template effect so we memoize separately
627627
is_select_with_value
628628
? memoize_expression(state, value)
629-
: get_expression_id(state.expressions, value) // TODO i think this will break in spread, needs to be `expressions`
629+
: get_expression_id(state.expressions, value)
630630
: value
631631
);
632632

0 commit comments

Comments
 (0)
Please sign in to comment.