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

Unified Diff: test/codegen_expected/language/map_literal1_test_none_multi.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/map_literal1_test_none_multi.js
diff --git a/test/codegen_expected/language/map_literal1_test_none_multi.js b/test/codegen_expected/language/map_literal1_test_none_multi.js
index b9aa9e714f69ffe1ea1d84546661f98c51d05a28..a9bec5f55ff6b2b7d7ab7557cf2054fd2ee5141d 100644
--- a/test/codegen_expected/language/map_literal1_test_none_multi.js
+++ b/test/codegen_expected/language/map_literal1_test_none_multi.js
@@ -9,7 +9,7 @@ dart_library.library('language/map_literal1_test_none_multi', null, /* Imports *
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
let const$;
map_literal1_test_none_multi.main = function() {
- let m = const$ || (const$ = dart.const(dart.map({a: 0})));
+ let m = const$ || (const$ = dart.const(dart.map({a: 0}, core.String, core.int)));
};
dart.fn(map_literal1_test_none_multi.main, VoidTodynamic());
// Exports:
« no previous file with comments | « test/codegen_expected/language/map_literal11_test.js ('k') | test/codegen_expected/language/map_literal2_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698