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

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

Issue 1484263002: Use destructuring assignments for named parameters (#180) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Destructure function params directly (no more opts in most cases) Created 5 years, 1 month 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/precedence.dart
diff --git a/lib/src/js/precedence.dart b/lib/src/js/precedence.dart
index 13e8bd66c24c5dedbc07d48f86203503509f9b87..c8b5817cc9f6bd70229c03e440bd43c7c9883e81 100644
--- a/lib/src/js/precedence.dart
+++ b/lib/src/js/precedence.dart
@@ -34,3 +34,4 @@ const CALL = LEFT_HAND_SIDE;
// We always emit `new` with parenthesis, so it uses ACCESS as its precedence.
const ACCESS = CALL + 1;
const PRIMARY = ACCESS + 1;
+const DESTRUCTURING = PRIMARY + 1;
Jennifer Messerly 2015/12/01 02:10:27 hmm, not sure this really makes sense as a precede
ochafik 2015/12/02 20:05:46 Done.

Powered by Google App Engine
This is Rietveld 408576698