Index: pkg/js_ast/lib/src/nodes.dart |
diff --git a/pkg/js_ast/lib/src/nodes.dart b/pkg/js_ast/lib/src/nodes.dart |
index 18db66c67fc8e1c00d375d660cf0b8e16c579140..7c8293e8d9e5ae5896583167499a28236375793f 100644 |
--- a/pkg/js_ast/lib/src/nodes.dart |
+++ b/pkg/js_ast/lib/src/nodes.dart |
@@ -611,6 +611,7 @@ class Assignment extends Expression { |
Assignment(leftHandSide, value) |
: this.compound(leftHandSide, null, value); |
+ // If `this.op == null` this will be a non-compound assignment. |
Assignment.compound(this.leftHandSide, this.op, this.value); |
int get precedenceLevel => ASSIGNMENT; |