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

Unified Diff: test/codegen_expected/corelib/collection_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/collection_test.js
diff --git a/test/codegen_expected/corelib/collection_test.js b/test/codegen_expected/corelib/collection_test.js
index e546f5008a5cd031d2017373584cb46b41e84f3c..80407aaa4e3a8d425a499a0c9b6bb9ebd77a8c8e 100644
--- a/test/codegen_expected/corelib/collection_test.js
+++ b/test/codegen_expected/corelib/collection_test.js
@@ -9,6 +9,7 @@ dart_library.library('corelib/collection_test', null, /* Imports */[
const dartx = dart_sdk.dartx;
const expect$ = expect.expect;
const collection_test = Object.create(null);
+ let SetOfint = () => (SetOfint = dart.constFn(core.Set$(core.int)))();
let dynamicAnddynamicTodynamic = () => (dynamicAnddynamicTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [dart.dynamic, dart.dynamic])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
collection_test.CollectionTest = class CollectionTest extends core.Object {
@@ -34,7 +35,7 @@ dart_library.library('corelib/collection_test', null, /* Imports */[
}
new collection_test.CollectionTest(fixedList);
new collection_test.CollectionTest(core.List.from(TEST_ELEMENTS));
- new collection_test.CollectionTest(core.Set.from(TEST_ELEMENTS));
+ new collection_test.CollectionTest(SetOfint().from(TEST_ELEMENTS));
new collection_test.CollectionTest(collection.Queue.from(TEST_ELEMENTS));
};
dart.fn(collection_test.main, VoidTodynamic());
« no previous file with comments | « test/codegen_expected/corelib/collection_from_test.js ('k') | test/codegen_expected/corelib/has_next_iterator_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698