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

Side by Side Diff: test/codegen/expect/language/least_upper_bound_test_21_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/least_upper_bound_test_21_multi', null, /* Import s */[
2 'dart_sdk'
3 ], function load__least_upper_bound_test_21_multi(exports, dart_sdk) {
4 'use strict';
5 const core = dart_sdk.core;
6 const dart = dart_sdk.dart;
7 const dartx = dart_sdk.dartx;
8 const least_upper_bound_test_21_multi = Object.create(null);
9 let E = () => (E = dart.constFn(least_upper_bound_test_21_multi.E$()))();
10 let F = () => (F = dart.constFn(least_upper_bound_test_21_multi.F$()))();
11 let FOfC = () => (FOfC = dart.constFn(least_upper_bound_test_21_multi.F$(least _upper_bound_test_21_multi.C)))();
12 let EOfB = () => (EOfB = dart.constFn(least_upper_bound_test_21_multi.E$(least _upper_bound_test_21_multi.B)))();
13 let EOfC = () => (EOfC = dart.constFn(least_upper_bound_test_21_multi.E$(least _upper_bound_test_21_multi.C)))();
14 let VoidTovoid = () => (VoidTovoid = dart.constFn(dart.definiteFunctionType(da rt.void, [])))();
15 let AAndBTovoid = () => (AAndBTovoid = dart.constFn(dart.definiteFunctionType( dart.void, [least_upper_bound_test_21_multi.A, least_upper_bound_test_21_multi.B ])))();
16 let BAndCTovoid = () => (BAndCTovoid = dart.constFn(dart.definiteFunctionType( dart.void, [least_upper_bound_test_21_multi.B, least_upper_bound_test_21_multi.C ])))();
17 let CAndDTovoid = () => (CAndDTovoid = dart.constFn(dart.definiteFunctionType( dart.void, [least_upper_bound_test_21_multi.C, least_upper_bound_test_21_multi.D ])))();
18 let EOfBAndEOfCTovoid = () => (EOfBAndEOfCTovoid = dart.constFn(dart.definiteF unctionType(dart.void, [EOfB(), EOfC()])))();
19 let EOfBAndFOfCTovoid = () => (EOfBAndFOfCTovoid = dart.constFn(dart.definiteF unctionType(dart.void, [EOfB(), FOfC()])))();
20 least_upper_bound_test_21_multi.A = class A extends core.Object {
21 new() {
22 this.a = null;
23 }
24 };
25 least_upper_bound_test_21_multi.B = class B extends core.Object {
26 new() {
27 this.b = null;
28 }
29 };
30 least_upper_bound_test_21_multi.C = class C extends least_upper_bound_test_21_ multi.B {
31 new() {
32 this.c = null;
33 super.new();
34 }
35 };
36 least_upper_bound_test_21_multi.D = class D extends least_upper_bound_test_21_ multi.B {
37 new() {
38 this.d = null;
39 super.new();
40 }
41 };
42 least_upper_bound_test_21_multi.E$ = dart.generic(T => {
43 class E extends core.Object {
44 new(e) {
45 this.e = e;
46 }
47 }
48 dart.addTypeTests(E);
49 dart.setSignature(E, {
50 constructors: () => ({new: dart.definiteFunctionType(least_upper_bound_tes t_21_multi.E$(T), [T])})
51 });
52 return E;
53 });
54 least_upper_bound_test_21_multi.E = E();
55 least_upper_bound_test_21_multi.F$ = dart.generic(T => {
56 class F extends least_upper_bound_test_21_multi.E$(T) {
57 new(f) {
58 this.f = f;
59 super.new(f);
60 }
61 }
62 dart.setSignature(F, {
63 constructors: () => ({new: dart.definiteFunctionType(least_upper_bound_tes t_21_multi.F$(T), [T])})
64 });
65 return F;
66 });
67 least_upper_bound_test_21_multi.F = F();
68 least_upper_bound_test_21_multi.main = function() {
69 least_upper_bound_test_21_multi.testAB(new least_upper_bound_test_21_multi.A (), new least_upper_bound_test_21_multi.B());
70 least_upper_bound_test_21_multi.testBC(new least_upper_bound_test_21_multi.C (), new least_upper_bound_test_21_multi.C());
71 least_upper_bound_test_21_multi.testCD(new least_upper_bound_test_21_multi.C (), new least_upper_bound_test_21_multi.D());
72 least_upper_bound_test_21_multi.testEE(new (FOfC())(new least_upper_bound_te st_21_multi.C()), new (FOfC())(new least_upper_bound_test_21_multi.C()));
73 least_upper_bound_test_21_multi.testEF(new (FOfC())(new least_upper_bound_te st_21_multi.C()), new (FOfC())(new least_upper_bound_test_21_multi.C()));
74 };
75 dart.fn(least_upper_bound_test_21_multi.main, VoidTovoid());
76 least_upper_bound_test_21_multi.testAB = function(a, b) {
77 let c = new least_upper_bound_test_21_multi.C();
78 };
79 dart.fn(least_upper_bound_test_21_multi.testAB, AAndBTovoid());
80 least_upper_bound_test_21_multi.testBC = function(b, c) {
81 let a = null;
82 };
83 dart.fn(least_upper_bound_test_21_multi.testBC, BAndCTovoid());
84 least_upper_bound_test_21_multi.testCD = function(c, d) {
85 };
86 dart.fn(least_upper_bound_test_21_multi.testCD, CAndDTovoid());
87 least_upper_bound_test_21_multi.testEE = function(e, f) {
88 let r1 = true ? e : f;
89 try {
90 } catch (e) {
91 }
92
93 };
94 dart.fn(least_upper_bound_test_21_multi.testEE, EOfBAndEOfCTovoid());
95 least_upper_bound_test_21_multi.testEF = function(e, f) {
96 try {
97 } catch (e) {
98 }
99
100 let r5 = null;
101 };
102 dart.fn(least_upper_bound_test_21_multi.testEF, EOfBAndFOfCTovoid());
103 // Exports:
104 exports.least_upper_bound_test_21_multi = least_upper_bound_test_21_multi;
105 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698