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

Unified Diff: test/codegen_expected/language/compile_time_constant_b_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/compile_time_constant_b_test.js
diff --git a/test/codegen_expected/language/compile_time_constant_b_test.js b/test/codegen_expected/language/compile_time_constant_b_test.js
index d8dbc452a6154bd152ef49fe63f6e3256b2d4fe0..c4f8eded5d840ce4316f26aa85182c00ba53ae2d 100644
--- a/test/codegen_expected/language/compile_time_constant_b_test.js
+++ b/test/codegen_expected/language/compile_time_constant_b_test.js
@@ -16,9 +16,9 @@ dart_library.library('language/compile_time_constant_b_test', null, /* Imports *
let VoidToint = () => (VoidToint = dart.constFn(dart.definiteFunctionType(core.int, [])))();
let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(dart.void, [])))();
let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionType(dart.dynamic, [])))();
- compile_time_constant_b_test.m1 = dart.const(dart.map({__proto__: 400 + 99}));
- compile_time_constant_b_test.m2 = dart.const(dart.map({a: 499, b: 42}));
- compile_time_constant_b_test.m3 = dart.const(dart.map({__proto__: 499}));
+ compile_time_constant_b_test.m1 = dart.const(dart.map({__proto__: 400 + 99}, core.String, core.int));
+ compile_time_constant_b_test.m2 = dart.const(dart.map({a: 499, b: 42}, core.String, core.int));
+ compile_time_constant_b_test.m3 = dart.const(dart.map({__proto__: 499}, core.String, core.int));
compile_time_constant_b_test.isUnsupportedError = function(o) {
return core.UnsupportedError.is(o);
};

Powered by Google App Engine
This is Rietveld 408576698