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

Unified Diff: test/codegen_expected/corelib/list_insert_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
« no previous file with comments | « test/codegen_expected/corelib/list_fixed_test.js ('k') | test/codegen_expected/corelib/list_insert_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen_expected/corelib/list_insert_all_test.js
diff --git a/test/codegen_expected/corelib/list_insert_all_test.js b/test/codegen_expected/corelib/list_insert_all_test.js
index 57b3b3c341c63bfc850c738e32660d9fe2bff7af..55b26a92b4a317272ea58caa1ee7facc1dde4b31 100644
--- a/test/codegen_expected/corelib/list_insert_all_test.js
+++ b/test/codegen_expected/corelib/list_insert_all_test.js
@@ -11,6 +11,7 @@ dart_library.library('corelib/list_insert_all_test', null, /* Imports */[
const expect$ = expect.expect;
const list_insert_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])))();
@@ -95,12 +96,12 @@ dart_library.library('corelib/list_insert_all_test', null, /* Imports */[
list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, const$2 || (const$2 = dart.constList([4, 5], core.int)));
list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, const$3 || (const$3 = dart.constList([4], core.int)));
list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, const$4 || (const$4 = dart.constList([], dart.dynamic)));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 0, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 1, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, core.Iterable.generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, core.Iterable.generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
- list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, core.Iterable.generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 0, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 1, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, IterableOfint().generate(2, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 2, IterableOfint().generate(1, dart.fn(x => dart.notNull(x) + 4, intToint())));
+ list_insert_all_test.test(JSArrayOfint().of([1, 2, 3]), 3, IterableOfint().generate(0, dart.fn(x => dart.notNull(x) + 4, intToint())));
list_insert_all_test.test(new list_insert_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 0, JSArrayOfint().of([4, 5]));
list_insert_all_test.test(new list_insert_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 1, JSArrayOfint().of([4, 5]));
list_insert_all_test.test(new list_insert_all_test.MyList(JSArrayOfint().of([1, 2, 3])), 2, JSArrayOfint().of([4]));
« no previous file with comments | « test/codegen_expected/corelib/list_fixed_test.js ('k') | test/codegen_expected/corelib/list_insert_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698