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

Unified Diff: tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart

Issue 11245002: - Do not pass optional positional parameters with a name. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « tests/compiler/dart2js_native/native_call_arity1_frog_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart
===================================================================
--- tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart (revision 13895)
+++ tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart (working copy)
@@ -27,25 +27,15 @@
setup();
var a = makeA();
Expect.equals(43, a.foo1((arg1) => arg1, 43));
- Expect.equals(43, a.foo1((arg1) => arg1, arg1: 43));
Expect.equals(0, a.foo1((arg1) => arg1));
Expect.equals(44, a.foo2((arg1, arg2) => arg1 + arg2, 21, 23));
Expect.equals(22, a.foo2((arg1, arg2) => arg1 + arg2, 21));
- Expect.equals(22, a.foo2((arg1, arg2) => arg1 + arg2, arg1: 21));
- Expect.equals(21, a.foo2((arg1, arg2) => arg1 + arg2, arg2: 21));
- Expect.equals(44, a.foo2((arg1, arg2) => arg1 + arg2, arg1: 21, arg2: 23));
- Expect.equals(44, a.foo2((arg1, arg2) => arg1 - arg2, arg2: 22, arg1: 66));
A aa = a;
Expect.equals(43, aa.foo1((arg1) => arg1, 43));
- Expect.equals(43, aa.foo1((arg1) => arg1, arg1: 43));
Expect.equals(0, aa.foo1((arg1) => arg1));
Expect.equals(44, aa.foo2((arg1, arg2) => arg1 + arg2, 21, 23));
Expect.equals(22, aa.foo2((arg1, arg2) => arg1 + arg2, 21));
- Expect.equals(22, aa.foo2((arg1, arg2) => arg1 + arg2, arg1: 21));
- Expect.equals(21, aa.foo2((arg1, arg2) => arg1 + arg2, arg2: 21));
- Expect.equals(44, aa.foo2((arg1, arg2) => arg1 + arg2, arg1: 21, arg2: 23));
- Expect.equals(44, aa.foo2((arg1, arg2) => arg1 - arg2, arg2: 22, arg1: 66));
}
« no previous file with comments | « tests/compiler/dart2js_native/native_call_arity1_frog_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698