|
|
|
@ -98,12 +98,7 @@ export function build_inline_component(node, expression, context) {
|
|
|
|
|
const { get, set } = init_spread_bindings(attribute.expression, context);
|
|
|
|
|
|
|
|
|
|
push_prop(b.get(attribute.name, [b.return(b.call(get))]));
|
|
|
|
|
push_prop(
|
|
|
|
|
b.set(attribute.name, [
|
|
|
|
|
b.stmt(b.call(set, b.id('$$value'))),
|
|
|
|
|
b.stmt(b.assignment('=', b.id('$$settled'), b.false))
|
|
|
|
|
])
|
|
|
|
|
);
|
|
|
|
|
push_prop(b.set(attribute.name, [b.stmt(b.call(set, b.id('$$value')))]));
|
|
|
|
|
} else if (attribute.expression.type === 'SequenceExpression') {
|
|
|
|
|
const [get, set] = /** @type {SequenceExpression} */ (context.visit(attribute.expression))
|
|
|
|
|
.expressions;
|
|
|
|
|