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 ( return (
n.type === 'ExpressionTag' && n.type === 'ExpressionTag' &&
n.expression.type !== 'Identifier' && n.expression.type !== 'Identifier' &&
(n.expression.type !== 'MemberExpression' || n.expression.type !== 'MemberExpression'
n.expression.object.type === 'AwaitExpression')
); );
}); });

Loading…
Cancel
Save