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

Side by Side Diff: test/codegen/expect/language/compile_time_constant_checked5_test_none_multi.js

Issue 2128353002: Check in codegen test expectations. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 dart_library.library('language/compile_time_constant_checked5_test_none_multi', null, /* Imports */[
2 'dart_sdk'
3 ], function load__compile_time_constant_checked5_test_none_multi(exports, dart_s dk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const compile_time_constant_checked5_test_none_multi = Object.create(null);
9 let Test2 = () => (Test2 = dart.constFn(compile_time_constant_checked5_test_no ne_multi.Test2$()))();
10 let Test3 = () => (Test3 = dart.constFn(compile_time_constant_checked5_test_no ne_multi.Test3$()))();
11 let Test4 = () => (Test4 = dart.constFn(compile_time_constant_checked5_test_no ne_multi.Test4$()))();
12 let Test5 = () => (Test5 = dart.constFn(compile_time_constant_checked5_test_no ne_multi.Test5$()))();
13 let Test2OfA$B = () => (Test2OfA$B = dart.constFn(compile_time_constant_checke d5_test_none_multi.Test2$(compile_time_constant_checked5_test_none_multi.A, comp ile_time_constant_checked5_test_none_multi.B)))();
14 let Test3OfA$B = () => (Test3OfA$B = dart.constFn(compile_time_constant_checke d5_test_none_multi.Test3$(compile_time_constant_checked5_test_none_multi.A, comp ile_time_constant_checked5_test_none_multi.B)))();
15 let Test4OfA$B = () => (Test4OfA$B = dart.constFn(compile_time_constant_checke d5_test_none_multi.Test4$(compile_time_constant_checked5_test_none_multi.A, comp ile_time_constant_checked5_test_none_multi.B)))();
16 let Test5OfA$B = () => (Test5OfA$B = dart.constFn(compile_time_constant_checke d5_test_none_multi.Test5$(compile_time_constant_checked5_test_none_multi.A, comp ile_time_constant_checked5_test_none_multi.B)))();
17 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun ctionType(dart.dynamic, [dart.dynamic])))();
18 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT ype(dart.dynamic, [])))();
19 compile_time_constant_checked5_test_none_multi.A = class A extends core.Object {
20 new() {
21 }
22 };
23 dart.setSignature(compile_time_constant_checked5_test_none_multi.A, {
24 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c hecked5_test_none_multi.A, [])})
25 });
26 compile_time_constant_checked5_test_none_multi.B = class B extends compile_tim e_constant_checked5_test_none_multi.A {
27 new() {
28 super.new();
29 }
30 };
31 dart.setSignature(compile_time_constant_checked5_test_none_multi.B, {
32 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c hecked5_test_none_multi.B, [])})
33 });
34 compile_time_constant_checked5_test_none_multi.C = class C extends compile_tim e_constant_checked5_test_none_multi.A {
35 new() {
36 super.new();
37 }
38 static d() {
39 return new compile_time_constant_checked5_test_none_multi.D();
40 }
41 };
42 dart.setSignature(compile_time_constant_checked5_test_none_multi.C, {
43 constructors: () => ({
44 new: dart.definiteFunctionType(compile_time_constant_checked5_test_none_mu lti.C, []),
45 d: dart.definiteFunctionType(compile_time_constant_checked5_test_none_mult i.C, [])
46 })
47 });
48 compile_time_constant_checked5_test_none_multi.D = class D extends compile_tim e_constant_checked5_test_none_multi.B {
49 new() {
50 super.new();
51 }
52 };
53 compile_time_constant_checked5_test_none_multi.D[dart.implements] = () => [com pile_time_constant_checked5_test_none_multi.C];
54 dart.setSignature(compile_time_constant_checked5_test_none_multi.D, {
55 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c hecked5_test_none_multi.D, [])})
56 });
57 compile_time_constant_checked5_test_none_multi.Test1 = class Test1 extends cor e.Object {
58 new() {
59 }
60 };
61 dart.setSignature(compile_time_constant_checked5_test_none_multi.Test1, {
62 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant_c hecked5_test_none_multi.Test1, [])})
63 });
64 compile_time_constant_checked5_test_none_multi.Test2$ = dart.generic((U, V) => {
65 class Test2 extends core.Object {
66 new() {
67 }
68 }
69 dart.addTypeTests(Test2);
70 dart.setSignature(Test2, {
71 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant _checked5_test_none_multi.Test2$(U, V), [])})
72 });
73 return Test2;
74 });
75 compile_time_constant_checked5_test_none_multi.Test2 = Test2();
76 compile_time_constant_checked5_test_none_multi.Test3$ = dart.generic((U, V) => {
77 class Test3 extends core.Object {
78 new() {
79 }
80 }
81 dart.addTypeTests(Test3);
82 dart.setSignature(Test3, {
83 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant _checked5_test_none_multi.Test3$(U, V), [])})
84 });
85 return Test3;
86 });
87 compile_time_constant_checked5_test_none_multi.Test3 = Test3();
88 compile_time_constant_checked5_test_none_multi.Test4$ = dart.generic((U, V) => {
89 class Test4 extends core.Object {
90 new() {
91 }
92 }
93 dart.addTypeTests(Test4);
94 dart.setSignature(Test4, {
95 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant _checked5_test_none_multi.Test4$(U, V), [])})
96 });
97 return Test4;
98 });
99 compile_time_constant_checked5_test_none_multi.Test4 = Test4();
100 compile_time_constant_checked5_test_none_multi.Test5$ = dart.generic((U, V) => {
101 class Test5 extends core.Object {
102 new() {
103 }
104 }
105 dart.addTypeTests(Test5);
106 dart.setSignature(Test5, {
107 constructors: () => ({new: dart.definiteFunctionType(compile_time_constant _checked5_test_none_multi.Test5$(U, V), [])})
108 });
109 return Test5;
110 });
111 compile_time_constant_checked5_test_none_multi.Test5 = Test5();
112 compile_time_constant_checked5_test_none_multi.use = function(x) {
113 return x;
114 };
115 dart.fn(compile_time_constant_checked5_test_none_multi.use, dynamicTodynamic() );
116 let const$;
117 let const$0;
118 let const$1;
119 let const$2;
120 let const$3;
121 compile_time_constant_checked5_test_none_multi.main = function() {
122 compile_time_constant_checked5_test_none_multi.use(const$ || (const$ = dart. const(new compile_time_constant_checked5_test_none_multi.Test1())));
123 compile_time_constant_checked5_test_none_multi.use(const$0 || (const$0 = dar t.const(new (Test2OfA$B())())));
124 compile_time_constant_checked5_test_none_multi.use(const$1 || (const$1 = dar t.const(new (Test3OfA$B())())));
125 compile_time_constant_checked5_test_none_multi.use(const$2 || (const$2 = dar t.const(new (Test4OfA$B())())));
126 compile_time_constant_checked5_test_none_multi.use(const$3 || (const$3 = dar t.const(new (Test5OfA$B())())));
127 };
128 dart.fn(compile_time_constant_checked5_test_none_multi.main, VoidTodynamic());
129 // Exports:
130 exports.compile_time_constant_checked5_test_none_multi = compile_time_constant _checked5_test_none_multi;
131 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698