Revert "fix await member expressions"

This reverts commit ae8bd6f222.
async-abort-signal
Rich Harris 7 months ago
parent 68a10b73b9
commit 994afafbd9

@ -180,8 +180,7 @@ export function build_component(node, component_name, context, anchor = context.
return (
n.type === 'ExpressionTag' &&
n.expression.type !== 'Identifier' &&
(n.expression.type !== 'MemberExpression' ||
n.expression.object.type === 'AwaitExpression')
n.expression.type !== 'MemberExpression'
);
});

Loading…
Cancel
Save