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

Unified Diff: test/codegen_expected/language/const_map_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/const_map_test.js
diff --git a/test/codegen_expected/language/const_map_test.js b/test/codegen_expected/language/const_map_test.js
index 42f27aec4b120a0c02c82f60fb9d9b76ce931d2c..5c664c28fcd1232298a489c0f8eb912f6c5a90b7 100644
--- a/test/codegen_expected/language/const_map_test.js
+++ b/test/codegen_expected/language/const_map_test.js
@@ -17,7 +17,7 @@ dart_library.library('language/const_map_test', null, /* Imports */[
dart.fn(const_map_test.confuse, dynamicTodynamic());
let const$;
const_map_test.main = function() {
- let m = const$ || (const$ = dart.const(dart.map([1, 42, "foo", 499])));
+ let m = const$ || (const$ = dart.const(dart.map([1, 42, "foo", 499], core.Object, core.int)));
expect$.Expect.equals(42, m[dartx.get](const_map_test.confuse(1.0)));
expect$.Expect.equals(499, m[dartx.get](const_map_test.confuse(core.String.fromCharCodes("foo"[dartx.runes]))));
};

Powered by Google App Engine
This is Rietveld 408576698