make foo += 1 equivalent to foo = foo + 1 in reactive statements

pull/2195/head
Richard Harris 6 years ago
parent 4541d58798
commit ac2597f77d

@ -1028,7 +1028,6 @@ export default class Component {
assignees.add(identifier.name);
} else if (node.type === 'UpdateExpression') {
const identifier = getObject(node.argument);
assignee_nodes.add(identifier);
assignees.add(identifier.name);
} else if (isReference(node, parent)) {
const identifier = getObject(node);

Loading…
Cancel
Save