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

Unified Diff: tests/compiler/dart2js_native/native_call_arity1_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 | « no previous file | tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_native/native_call_arity1_frog_test.dart
===================================================================
--- tests/compiler/dart2js_native/native_call_arity1_frog_test.dart (revision 13895)
+++ tests/compiler/dart2js_native/native_call_arity1_frog_test.dart (working copy)
@@ -51,9 +51,6 @@
Expect.equals(2, b.foo(10, 20));
Expect.equals(3, b.foo(10, 20, 30));
- Expect.equals(1, b.foo(x: 10)); // 1 = x
- Expect.equals(2, b.foo(y: 20)); // 2 = x, y
- Expect.equals(3, b.foo(z: 30)); // 3 = x, y, z
Expect.throws(() => b.foo(10, 20, 30, 40));
}
@@ -71,9 +68,6 @@
Expect.equals(2, b.foo(10, 20));
Expect.equals(3, b.foo(10, 20, 30));
- Expect.equals(1, b.foo(x: 10));
- Expect.equals(2, b.foo(y: 20));
- Expect.equals(3, b.foo(z: 30));
Expect.throws(() => b.foo(10, 20, 30, 40));
}
« no previous file with comments | « no previous file | tests/compiler/dart2js_native/native_wrapping_function3_frog_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698