Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: lib/src/js/nodes.dart

Issue 1050723002: partially implement instance of checks and some codegen fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/src/js/nodes.dart
diff --git a/lib/src/js/nodes.dart b/lib/src/js/nodes.dart
index ba4f4faf51dec83ebf0608638874096003a971c4..365d8844e877b5d0eb26b9f622b5b1c3df0ef56b 100644
--- a/lib/src/js/nodes.dart
+++ b/lib/src/js/nodes.dart
@@ -713,6 +713,8 @@ class New extends Call {
accept(NodeVisitor visitor) => visitor.visitNew(this);
New _clone() => new New(target, arguments);
+
+ int get precedenceLevel => ACCESS;
}
class Binary extends Expression {
@@ -948,7 +950,7 @@ class PropertyAccess extends Expression {
PropertyAccess _clone() => new PropertyAccess(receiver, selector);
- int get precedenceLevel => CALL;
+ int get precedenceLevel => ACCESS;
}
abstract class Literal extends Expression {

Powered by Google App Engine
This is Rietveld 408576698