Skip to content

Commit d399d8a

Browse files
committed
fix
1 parent 82cb515 commit d399d8a

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/ExpressionStatement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function ExpressionStatement(node, context) {
4242
if (parallelize) {
4343
const declarator = {
4444
id: null,
45-
init: /** @type {Expression} */ (context.visit(node.expression))
45+
init: /** @type {Expression} */ (context.visit(node.expression.argument))
4646
};
4747
if (current_chunk) {
4848
current_chunk.declarators.push(declarator);

0 commit comments

Comments
 (0)