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

Unified Diff: test/codegen_expected/language/ordered_maps_test.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Remove unnecessary null check Created 4 years, 4 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/language/ordered_maps_test.js
diff --git a/test/codegen_expected/language/ordered_maps_test.js b/test/codegen_expected/language/ordered_maps_test.js
index 3c287fa743106464dfe819e1c47c16b28aa82de8..f3b3085637dba16dfa67b57d89eac496c98b0ef6 100644
--- a/test/codegen_expected/language/ordered_maps_test.js
+++ b/test/codegen_expected/language/ordered_maps_test.js
@@ -13,8 +13,8 @@ dart_library.library('language/ordered_maps_test', null, /* Imports */[
let const$0;
ordered_maps_test.OrderedMapsTest = class OrderedMapsTest extends core.Object {
static testMain() {
- ordered_maps_test.OrderedMapsTest.testMaps(const$ || (const$ = dart.const(dart.map({a: 1, c: 2}))), const$0 || (const$0 = dart.const(dart.map({c: 2, a: 1}))), true);
- ordered_maps_test.OrderedMapsTest.testMaps(dart.map({a: 1, c: 2}), dart.map({c: 2, a: 1}), false);
+ ordered_maps_test.OrderedMapsTest.testMaps(const$ || (const$ = dart.const(dart.map({a: 1, c: 2}, core.String, core.int))), const$0 || (const$0 = dart.const(dart.map({c: 2, a: 1}, core.String, core.int))), true);
+ ordered_maps_test.OrderedMapsTest.testMaps(dart.map({a: 1, c: 2}, core.String, core.int), dart.map({c: 2, a: 1}, core.String, core.int), false);
}
static testMaps(map1, map2, isConst) {
expect$.Expect.isFalse(core.identical(map1, map2));

Powered by Google App Engine
This is Rietveld 408576698