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

Unified Diff: test/codegen_expected/lib/typed_data/typed_data_list_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/lib/typed_data/typed_data_list_test.js
diff --git a/test/codegen_expected/lib/typed_data/typed_data_list_test.js b/test/codegen_expected/lib/typed_data/typed_data_list_test.js
index e979de76be72390a9cfc342bde1dec8bef1b32ca..75c085783125af942974f797bbaa4bef85ae78e8 100644
--- a/test/codegen_expected/lib/typed_data/typed_data_list_test.js
+++ b/test/codegen_expected/lib/typed_data/typed_data_list_test.js
@@ -80,13 +80,13 @@ dart_library.library('lib/typed_data/typed_data_list_test', null, /* Imports */[
for (let i = 1; i < dart.notNull(core.num._check(dart.dsend(dart.dload(list, 'length'), '-', 1))); i++) {
expect$.Expect.equals(2, dart.dindex(list, i));
}
- dart.dsend(list, 'setRange', 1, dart.dsend(dart.dload(list, 'length'), '-', 1), core.Iterable.generate(core.int._check(dart.dsend(dart.dload(list, 'length'), '-', 2)), dart.fn(x => dart.dcall(toElementType, dart.notNull(x) + 5), dart.definiteFunctionType(T, [core.int]))));
+ dart.dsend(list, 'setRange', 1, dart.dsend(dart.dload(list, 'length'), '-', 1), core.Iterable$(T).generate(core.int._check(dart.dsend(dart.dload(list, 'length'), '-', 2)), dart.fn(x => dart.dcall(toElementType, dart.notNull(x) + 5), dart.definiteFunctionType(T, [core.int]))));
expect$.Expect.equals(first, dart.dload(list, 'first'));
expect$.Expect.equals(last, dart.dload(list, 'last'));
for (let i = 1; i < dart.notNull(core.num._check(dart.dsend(dart.dload(list, 'length'), '-', 1))); i++) {
expect$.Expect.equals(4 + i, dart.dindex(list, i));
}
- dart.dsend(list, 'setRange', 1, dart.dsend(dart.dload(list, 'length'), '-', 1), core.Iterable.generate(core.int._check(dart.dsend(dart.dload(list, 'length'), '-', 1)), dart.fn(x => dart.dcall(toElementType, dart.notNull(x) + 5), dart.definiteFunctionType(T, [core.int]))), 1);
+ dart.dsend(list, 'setRange', 1, dart.dsend(dart.dload(list, 'length'), '-', 1), core.Iterable$(T).generate(core.int._check(dart.dsend(dart.dload(list, 'length'), '-', 1)), dart.fn(x => dart.dcall(toElementType, dart.notNull(x) + 5), dart.definiteFunctionType(T, [core.int]))), 1);
expect$.Expect.equals(first, dart.dload(list, 'first'));
expect$.Expect.equals(last, dart.dload(list, 'last'));
for (let i = 1; i < dart.notNull(core.num._check(dart.dsend(dart.dload(list, 'length'), '-', 1))); i++) {
« no previous file with comments | « test/codegen_expected/lib/typed_data/typed_data_from_list_test.js ('k') | test/codegen_expected/matcher/matcher.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698