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

Unified Diff: test/codegen/methods.dart

Issue 1484263002: Use destructuring assignments for named parameters (#180) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/methods.dart
diff --git a/test/codegen/methods.dart b/test/codegen/methods.dart
index b3dd90c3f7319fdd00068918d9a4a5ea26229aee..662d15bb35c0fa7538a35dbfd3b25b36ba4ec4ea 100644
--- a/test/codegen/methods.dart
+++ b/test/codegen/methods.dart
@@ -19,9 +19,8 @@ class A {
return a + b;
}
- int ww(int a, {int b: 0}) {
- return a + b;
- }
+ clashWithObjectProperty({constructor}) => constructor;
+ clashWithJsReservedName({function}) => function;
int get a => x();
« no previous file with comments | « test/codegen/expect/unittest/unittest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698