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

Unified Diff: tests/compiler/dart2js_extra/closure7_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/closure6_test.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js_extra/closure7_test.dart
===================================================================
--- tests/compiler/dart2js_extra/closure7_test.dart (revision 13907)
+++ tests/compiler/dart2js_extra/closure7_test.dart (working copy)
@@ -15,14 +15,14 @@
Expect.equals(499, foo());
foo = (x, y) => x + y;
Expect.equals(102, bar());
- foo = ([fun = null]) => fun(41);
+ foo = ({fun: null}) => fun(41);
Expect.equals(42, gee((x) => x + 1));
foo = () => 499;
Expect.equals(499, foo2());
foo = (x, y) => x + y;
Expect.equals(102, bar2());
- foo = ([fun = null]) => fun(41);
+ foo = ({fun: null}) => fun(41);
Expect.equals(42, gee2((x) => x + 1));
}
@@ -41,14 +41,14 @@
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/closure6_test.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698