Index: pkg/js_ast/lib/src/precedence.dart |
diff --git a/pkg/js_ast/lib/src/precedence.dart b/pkg/js_ast/lib/src/precedence.dart |
index 6d66f1fca5a74c22b24aad9058cede3588202aed..222f4a80f07263162e22b4ccfcfdd2e903a08155 100644 |
--- a/pkg/js_ast/lib/src/precedence.dart |
+++ b/pkg/js_ast/lib/src/precedence.dart |
@@ -17,9 +17,6 @@ const SHIFT = RELATIONAL + 1; |
const ADDITIVE = SHIFT + 1; |
const MULTIPLICATIVE = ADDITIVE + 1; |
const UNARY = MULTIPLICATIVE + 1; |
-const LEFT_HAND_SIDE = UNARY + 1; |
-// We merge new, call and member expressions. |
-// This means that we have to emit parenthesis for 'new's. For example `new X;` |
-// should be printed as `new X();`. This simplifies the requirements. |
-const CALL = LEFT_HAND_SIDE; |
-const PRIMARY = CALL + 1; |
+const CALL = UNARY + 1; |
+const LEFT_HAND_SIDE = CALL + 1; |
+const PRIMARY = LEFT_HAND_SIDE + 1; |