|
|
@ -33,13 +33,12 @@ function build_assignment(operator, left, right, context) {
|
|
|
|
|
|
|
|
|
|
|
|
if (rune) {
|
|
|
|
if (rune) {
|
|
|
|
const name = get_name(left.property);
|
|
|
|
const name = get_name(left.property);
|
|
|
|
|
|
|
|
const key =
|
|
|
|
const l = b.member(
|
|
|
|
|
|
|
|
b.this,
|
|
|
|
|
|
|
|
left.property.type === 'PrivateIdentifier' || rune === '$state' || rune === '$state.raw'
|
|
|
|
left.property.type === 'PrivateIdentifier' || rune === '$state' || rune === '$state.raw'
|
|
|
|
? left.property
|
|
|
|
? left.property
|
|
|
|
: context.state.backing_fields[name]
|
|
|
|
: context.state.backing_fields[name];
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
const l = b.member(b.this, key, key.type === 'Literal');
|
|
|
|
|
|
|
|
|
|
|
|
const r = /** @type {Expression} */ (context.visit(right));
|
|
|
|
const r = /** @type {Expression} */ (context.visit(right));
|
|
|
|
|
|
|
|
|
|
|
|