Index: pkg/dev_compiler/test/codegen_expected/map_keys.js |
diff --git a/pkg/dev_compiler/test/codegen_expected/map_keys.js b/pkg/dev_compiler/test/codegen_expected/map_keys.js |
index a7641ed23031244422373655eefb9e455932cede..61a42cc99102ad26da9ae2b9bc6747528f360810 100644 |
--- a/pkg/dev_compiler/test/codegen_expected/map_keys.js |
+++ b/pkg/dev_compiler/test/codegen_expected/map_keys.js |
@@ -7,12 +7,12 @@ define(['dart_sdk'], function(dart_sdk) { |
const map_keys = Object.create(null); |
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))(); |
map_keys.main = function() { |
- core.print(dart.map({'1': 2, '3': 4, '5': 6})); |
- core.print(dart.map([1, 2, 3, 4, 5, 6])); |
- core.print(dart.map({'1': 2, [dart.str`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6})); |
+ core.print(dart.map({'1': 2, '3': 4, '5': 6}, core.String, core.int)); |
+ core.print(dart.map([1, 2, 3, 4, 5, 6], core.int, core.int)); |
+ core.print(dart.map({'1': 2, [dart.str`${dart.notNull(math.Random.new().nextInt(2)) + 2}`]: 4, '5': 6}, core.String, core.int)); |
let x = '3'; |
- core.print(dart.map(['1', 2, x, 4, '5', 6])); |
- core.print(dart.map(['1', 2, null, 4, '5', 6])); |
+ core.print(dart.map(['1', 2, x, 4, '5', 6], core.String, core.int)); |
+ core.print(dart.map(['1', 2, null, 4, '5', 6], core.String, core.int)); |
}; |
dart.fn(map_keys.main, VoidTodynamic()); |
dart.trackLibraries("map_keys", {"map_keys.dart": map_keys}, null); |