|
|
@ -107,6 +107,10 @@ export function ClassBody(node, context) {
|
|
|
|
if (name[0] === '#' || field.type === '$state' || field.type === '$state.raw') {
|
|
|
|
if (name[0] === '#' || field.type === '$state' || field.type === '$state.raw') {
|
|
|
|
body.push(/** @type {PropertyDefinition} */ (context.visit(definition, child_state)));
|
|
|
|
body.push(/** @type {PropertyDefinition} */ (context.visit(definition, child_state)));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if (field.node.type === 'AssignmentExpression') {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const backing = backing_fields[name];
|
|
|
|
const backing = backing_fields[name];
|
|
|
|
const member = b.member(b.this, backing);
|
|
|
|
const member = b.member(b.this, backing);
|
|
|
|
|
|
|
|
|
|
|
|