Skip to content

Commit a63d9e1

Browse files
Merge branch 'elliott-payload-as-array' of github.com:sveltejs/svelte into elliott-payload-as-array
2 parents a9dfd64 + 62a269b commit a63d9e1

File tree

1 file changed

+0
-2
lines changed
  • packages/svelte/src/compiler/phases/3-transform/server/visitors/shared

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ export function build_template(template, out = b.id('$$payload.out'), operator =
111111

112112
const flush = () => {
113113
if (operator === 'push') {
114-
// For array push, we need to call push method instead of assignment
115114
statements.push(
116115
b.stmt(
117116
b.call(
@@ -124,7 +123,6 @@ export function build_template(template, out = b.id('$$payload.out'), operator =
124123
)
125124
);
126125
} else {
127-
// For other operators, use assignment
128126
statements.push(
129127
b.stmt(
130128
b.assignment(

0 commit comments

Comments
 (0)