Skip to content

Commit fc03ba7

Browse files
committed
more
1 parent f5972d3 commit fc03ba7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ export function VariableDeclaration(node, context) {
346346
const label = `[$derived ${declarator.id.type === 'ArrayPattern' ? 'iterable' : 'object'}]`;
347347
call = b.call('$.tag', call, b.literal(label));
348348
}
349+
derived_declarators.push(b.declarator(id, call));
349350
}
350351

351352
for (const path of paths) {

0 commit comments

Comments
 (0)