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

Unified Diff: tests/compiler/dart2js_extra/closure6_test.dart

Issue 11227038: Fix and reenable dart2js extra tests and dart2js native tests. (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_extra/closure5_test.dart ('k') | tests/compiler/dart2js_extra/closure7_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/closure6_test.dart
===================================================================
--- tests/compiler/dart2js_extra/closure6_test.dart (revision 13907)
+++ tests/compiler/dart2js_extra/closure6_test.dart (working copy)
@@ -18,13 +18,13 @@
Expect.equals(499, a.foo());
a.foo = (x, y) => x + y;
Expect.equals(102, a.bar());
- a.foo = ([fun = null]) => fun(41);
+ a.foo = ({fun: null}) => fun(41);
Expect.equals(42, a.gee((x) => x + 1));
a.foo = () => 499;
Expect.equals(499, a.foo2());
a.foo = (x, y) => x + y;
Expect.equals(102, a.bar2());
- a.foo = ([fun = null]) => fun(41);
+ a.foo = ({fun: null}) => fun(41);
Expect.equals(42, a.gee2((x) => x + 1));
}
« no previous file with comments | « tests/compiler/dart2js_extra/closure5_test.dart ('k') | tests/compiler/dart2js_extra/closure7_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698