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

Unified Diff: test/codegen_expected/corelib/list_set_all_test.js

Issue 2102053003: Remove DDC custom error list now that strong mode analyzer handles it (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: another fix Created 4 years, 5 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
Index: test/codegen_expected/corelib/list_set_all_test.js
diff --git a/test/codegen_expected/corelib/list_set_all_test.js b/test/codegen_expected/corelib/list_set_all_test.js
index b6338d87c1bf22a8572ed36a2e9aa8c2d1e697ec..7736be7290df8b6808b9cecc7c73bbafab673e7a 100644
--- a/test/codegen_expected/corelib/list_set_all_test.js
+++ b/test/codegen_expected/corelib/list_set_all_test.js
@@ -11,6 +11,7 @@ dart_library.library('corelib/list_set_all_test', null, /* Imports */[
const expect$ = expect.expect;
const list_set_all_test = Object.create(null);
let JSArrayOfint = () => (JSArrayOfint = dart.constFn(_interceptors.JSArray$(core.int)))();
+ let IterableOfint = () => (IterableOfint = dart.constFn(core.Iterable$(core.int)))();
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.functionType(dart.void, [])))();
let ListAndintAndIterableTodynamic = () => (ListAndintAndIterableTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.List, core.int, core.Iterable])))();
let intToint = () => (intToint = dart.constFn(dart.definiteFunctionType(core.int, [core.int])))();
@@ -94,10 +95,10 @@ dart_library.library('corelib/list_set_all_test', null, /* Imports */[
list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 1, const$0 || (const$0 = dart.constList([4, 5], core.int)));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, const$1 || (const$1 = dart.constList([4], core.int)));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, const$2 || (const$2 = dart.constList([], dart.dynamic)));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 0, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 1, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, core.Iterable.generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, core.Iterable.generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 0, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 1, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, IterableOfint().generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, IterableOfint().generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 0, JSArrayOfint().of([4, 5]));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 1, JSArrayOfint().of([4, 5]));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 2, JSArrayOfint().of([4]));
@@ -110,10 +111,10 @@ dart_library.library('corelib/list_set_all_test', null, /* Imports */[
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 1, const$4 || (const$4 = dart.constList([4, 5], core.int)));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 2, const$5 || (const$5 = dart.constList([4], core.int)));
list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 3, const$6 || (const$6 = dart.constList([], dart.dynamic)));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 0, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 1, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 2, core.Iterable.generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 3, core.Iterable.generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 0, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 1, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 2, IterableOfint().generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_set_all_test.test(JSArrayOfint().of([1, 2, 3])[dartx.toList]({growable: false}), 3, IterableOfint().generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
list_set_all_test.test(new list_set_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 0, JSArrayOfint().of([4, 5]));
list_set_all_test.test(new list_set_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 1, JSArrayOfint().of([4, 5]));
list_set_all_test.test(new list_set_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 2, JSArrayOfint().of([4]));
« no previous file with comments | « test/codegen_expected/corelib/list_replace_range_test.js ('k') | test/codegen_expected/corelib/map_from_iterables_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698