Skip to content

Commit b7f485d

Browse files
committed
fix
1 parent 1e8fe64 commit b7f485d

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export function MemberExpression(node, context) {
2828
parent?.type !== 'AssignmentExpression' &&
2929
parent?.type !== 'UpdateExpression' &&
3030
parent?.type !== 'Component' &&
31+
parent?.type !== 'AwaitExpression' &&
3132
!node.optional
3233
) {
3334
return trace(

0 commit comments

Comments
 (0)