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

Unified Diff: test/codegen_expected/language/compile_time_constant10_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/compile_time_constant10_test_none_multi.js
diff --git a/test/codegen_expected/language/compile_time_constant10_test_none_multi.js b/test/codegen_expected/language/compile_time_constant10_test_none_multi.js
index 557f52d557b05d4c67a2a64aa80353c298118dda..86138758059f63d4c884d60063eb9f19d4893d73 100644
--- a/test/codegen_expected/language/compile_time_constant10_test_none_multi.js
+++ b/test/codegen_expected/language/compile_time_constant10_test_none_multi.js
@@ -34,8 +34,8 @@ dart_library.library('language/compile_time_constant10_test_none_multi', null, /
compile_time_constant10_test_none_multi.s2 = "2";
compile_time_constant10_test_none_multi.l1 = dart.constList([1, 2], core.int);
compile_time_constant10_test_none_multi.l2 = dart.constList([2, 3], core.int);
- compile_time_constant10_test_none_multi.m1 = dart.const(dart.map({x: 1}));
- compile_time_constant10_test_none_multi.m2 = dart.const(dart.map({x: 2}));
+ compile_time_constant10_test_none_multi.m1 = dart.const(dart.map({x: 1}, core.String, core.int));
+ compile_time_constant10_test_none_multi.m2 = dart.const(dart.map({x: 2}, core.String, core.int));
compile_time_constant10_test_none_multi.c1 = dart.const(new compile_time_constant10_test_none_multi.C(1));
compile_time_constant10_test_none_multi.c2 = dart.const(new compile_time_constant10_test_none_multi.C(2));
compile_time_constant10_test_none_multi.f1 = function() {
@@ -59,7 +59,7 @@ dart_library.library('language/compile_time_constant10_test_none_multi', null, /
constructors: () => ({new: dart.definiteFunctionType(compile_time_constant10_test_none_multi.CT, [dart.dynamic, dart.dynamic])}),
methods: () => ({test: dart.definiteFunctionType(dart.void, [dart.functionType(dart.void, [dart.dynamic, dart.dynamic]), dart.dynamic])})
});
- compile_time_constant10_test_none_multi.trueTests = dart.constList([dart.const(new compile_time_constant10_test_none_multi.CT(2 - 1, compile_time_constant10_test_none_multi.i1)), dart.const(new compile_time_constant10_test_none_multi.CT(1 + 1, compile_time_constant10_test_none_multi.i2)), dart.const(new compile_time_constant10_test_none_multi.CT(2.5 - 1.0, compile_time_constant10_test_none_multi.d1)), dart.const(new compile_time_constant10_test_none_multi.CT(1.5 + 1.0, compile_time_constant10_test_none_multi.d2)), dart.const(new compile_time_constant10_test_none_multi.CT(false || true, compile_time_constant10_test_none_multi.b1)), dart.const(new compile_time_constant10_test_none_multi.CT(true && false, compile_time_constant10_test_none_multi.b2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.str`${compile_time_constant10_test_none_multi.i1}`, compile_time_constant10_test_none_multi.s1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.str`${compile_time_constant10_test_none_multi.i2}`, compile_time_constant10_test_none_multi.s2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.constList([compile_time_constant10_test_none_multi.i1, 2], core.int), compile_time_constant10_test_none_multi.l1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.constList([compile_time_constant10_test_none_multi.i2, 3], core.int), compile_time_constant10_test_none_multi.l2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(dart.map({x: compile_time_constant10_test_none_multi.i1})), compile_time_constant10_test_none_multi.m1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(dart.map({x: compile_time_constant10_test_none_multi.i2})), compile_time_constant10_test_none_multi.m2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(new compile_time_constant10_test_none_multi.C(compile_time_constant10_test_none_multi.i1)), compile_time_constant10_test_none_multi.c1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(new compile_time_constant10_test_none_multi.C(compile_time_constant10_test_none_multi.i2)), compile_time_constant10_test_none_multi.c2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f1, compile_time_constant10_test_none_multi.f1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f2, compile_time_constant10_test_none_multi.f2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.C.f3, compile_time_constant10_test_none_multi.C.f3)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.C.f4, compile_time_constant10_test_none_multi.C.f4)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.id, core.identical))], compile_time_constant10_test_none_multi.CT);
+ compile_time_constant10_test_none_multi.trueTests = dart.constList([dart.const(new compile_time_constant10_test_none_multi.CT(2 - 1, compile_time_constant10_test_none_multi.i1)), dart.const(new compile_time_constant10_test_none_multi.CT(1 + 1, compile_time_constant10_test_none_multi.i2)), dart.const(new compile_time_constant10_test_none_multi.CT(2.5 - 1.0, compile_time_constant10_test_none_multi.d1)), dart.const(new compile_time_constant10_test_none_multi.CT(1.5 + 1.0, compile_time_constant10_test_none_multi.d2)), dart.const(new compile_time_constant10_test_none_multi.CT(false || true, compile_time_constant10_test_none_multi.b1)), dart.const(new compile_time_constant10_test_none_multi.CT(true && false, compile_time_constant10_test_none_multi.b2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.str`${compile_time_constant10_test_none_multi.i1}`, compile_time_constant10_test_none_multi.s1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.str`${compile_time_constant10_test_none_multi.i2}`, compile_time_constant10_test_none_multi.s2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.constList([compile_time_constant10_test_none_multi.i1, 2], core.int), compile_time_constant10_test_none_multi.l1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.constList([compile_time_constant10_test_none_multi.i2, 3], core.int), compile_time_constant10_test_none_multi.l2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(dart.map({x: compile_time_constant10_test_none_multi.i1}, core.String, core.int)), compile_time_constant10_test_none_multi.m1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(dart.map({x: compile_time_constant10_test_none_multi.i2}, core.String, core.int)), compile_time_constant10_test_none_multi.m2)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(new compile_time_constant10_test_none_multi.C(compile_time_constant10_test_none_multi.i1)), compile_time_constant10_test_none_multi.c1)), dart.const(new compile_time_constant10_test_none_multi.CT(dart.const(new compile_time_constant10_test_none_multi.C(compile_time_constant10_test_none_multi.i2)), compile_time_constant10_test_none_multi.c2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f1, compile_time_constant10_test_none_multi.f1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f2, compile_time_constant10_test_none_multi.f2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.C.f3, compile_time_constant10_test_none_multi.C.f3)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.C.f4, compile_time_constant10_test_none_multi.C.f4)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.id, core.identical))], compile_time_constant10_test_none_multi.CT);
compile_time_constant10_test_none_multi.falseTests = dart.constList([dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.i1, compile_time_constant10_test_none_multi.i2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.d1, compile_time_constant10_test_none_multi.d2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.b1, compile_time_constant10_test_none_multi.b2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.s1, compile_time_constant10_test_none_multi.s2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.l1, compile_time_constant10_test_none_multi.l2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.m1, compile_time_constant10_test_none_multi.m2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.c1, compile_time_constant10_test_none_multi.c2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f1, compile_time_constant10_test_none_multi.f2)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.i1, compile_time_constant10_test_none_multi.d1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.d1, compile_time_constant10_test_none_multi.b1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.b1, compile_time_constant10_test_none_multi.s1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.s1, compile_time_constant10_test_none_multi.l1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.l1, compile_time_constant10_test_none_multi.m1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.m1, compile_time_constant10_test_none_multi.c1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.c1, compile_time_constant10_test_none_multi.f1)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.f1, compile_time_constant10_test_none_multi.C.f3)), dart.const(new compile_time_constant10_test_none_multi.CT(compile_time_constant10_test_none_multi.C.f3, core.identical)), dart.const(new compile_time_constant10_test_none_multi.CT(core.identical, compile_time_constant10_test_none_multi.i1))], compile_time_constant10_test_none_multi.CT);
compile_time_constant10_test_none_multi.main = function() {
for (let i = 0; i < dart.notNull(compile_time_constant10_test_none_multi.trueTests[dartx.length]); i++) {

Powered by Google App Engine
This is Rietveld 408576698