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

Side by Side Diff: pkg/front_end/testcases/rasta/super.dart.direct.expect

Issue 2949753002: Print static types of conditional expressions. (Closed)
Patch Set: Created 3 years, 6 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
1 library; 1 library;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 class A extends core::Object { 5 class A extends core::Object {
6 field dynamic a; 6 field dynamic a = null;
7 field dynamic b; 7 field dynamic b = null;
8 field dynamic c; 8 field dynamic c = null;
9 field dynamic d; 9 field dynamic d = null;
10 final field dynamic f; 10 final field dynamic f = null;
11 constructor •() → self::A 11 constructor •() → void
12 : super core::Object::•(); 12 : super core::Object::•()
13 ;
13 get e() → dynamic 14 get e() → dynamic
14 return null; 15 return null;
15 set g(dynamic _) → dynamic {} 16 set g(dynamic _) → dynamic {}
16 get h() → dynamic 17 get h() → dynamic
17 return null; 18 return null;
18 set h(dynamic _) → dynamic {} 19 set h(dynamic _) → dynamic {}
19 get i() → dynamic 20 get i() → dynamic
20 return null; 21 return null;
21 operator [](dynamic _) → dynamic 22 operator [](dynamic _) → dynamic
22 return null; 23 return null;
23 operator []=(dynamic a, dynamic b) → dynamic {} 24 operator []=(dynamic a, dynamic b) → dynamic {}
24 operator ~() → dynamic 25 operator ~() → dynamic
25 return 117; 26 return 117;
26 operator unary-() → dynamic 27 operator unary-() → dynamic
27 return 117; 28 return 117;
28 operator ==(dynamic other) → dynamic 29 operator ==(dynamic other) → dynamic
29 return true; 30 return true;
30 method m() → void {} 31 method m() → void {}
31 method n() → void {} 32 method n() → void {}
32 set n(dynamic _) → dynamic {} 33 set n(dynamic _) → dynamic {}
33 } 34 }
34 class B extends self::A { 35 class B extends self::A {
35 final field dynamic d; 36 final field dynamic d = null;
36 constructor •() → self::B 37 constructor •() → void
37 : super self::A::•(); 38 : super self::A::•()
39 ;
38 get b() → dynamic 40 get b() → dynamic
39 return null; 41 return null;
40 set c(dynamic x) → dynamic {} 42 set c(dynamic x) → dynamic {}
41 set i(dynamic x) → dynamic {} 43 set i(dynamic x) → dynamic {}
42 } 44 }
43 class C extends self::B { 45 class C extends self::B {
44 constructor •() → self::C 46 constructor •() → void
45 : super self::B::•(); 47 : super self::B::•()
48 ;
46 method test() → dynamic { 49 method test() → dynamic {
47 super.{self::A::~}(); 50 super.~();
48 self::use(super.{self::A::~}()); 51 self::use(super.~());
49 super.{self::A::unary-}(); 52 super.unary-();
50 self::use(super.{self::A::unary-}()); 53 self::use(super.unary-());
51 invalid-expression; 54 const core::_ConstantExpressionError::•()._throw(new core::_CompileTimeError ::•("pkg/front_end/testcases/rasta/super.dart:43:6: Error: Can't use `super` as an expression.\n +super;\n ^"));
52 self::use(invalid-expression); 55 self::use(const core::_ConstantExpressionError::•()._throw(new core::_Compil eTimeError::•("pkg/front_end/testcases/rasta/super.dart:44:10: Error: Can't use `super` as an expression.\n use(+super);\n ^")));
53 super.{self::A::==}(87); 56 super.==(87);
54 self::use(super.{self::A::==}(87)); 57 self::use(super.==(87));
55 !super.{self::A::==}(87); 58 !super.==(87);
56 self::use(!super.{self::A::==}(87)); 59 self::use(!super.==(87));
57 super.{self::A::a}; 60 super.{self::A::a};
58 self::use(super.{self::A::a}); 61 self::use(super.{self::A::a});
59 super.{self::B::b}; 62 super.{self::B::b};
60 self::use(super.{self::B::b}); 63 self::use(super.{self::B::b});
61 super.{self::A::c}; 64 super.{self::A::c};
62 self::use(super.{self::A::c}); 65 self::use(super.{self::A::c});
63 super.{self::B::d}; 66 super.{self::B::d};
64 self::use(super.{self::B::d}); 67 self::use(super.{self::B::d});
65 super.{self::A::e}; 68 super.{self::A::e};
66 self::use(super.{self::A::e}); 69 self::use(super.{self::A::e});
67 super.{self::A::f}; 70 super.{self::A::f};
68 self::use(super.{self::A::f}); 71 self::use(super.{self::A::f});
69 super.g; 72 super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynamic>[0, 1, 1 ].toList(growable: false), <dynamic>[this].toList(growable: false), true));
70 self::use(super.g); 73 self::use(super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr ue)));
71 super.{self::A::h}; 74 super.{self::A::h};
72 self::use(super.{self::A::h}); 75 self::use(super.{self::A::h});
73 super.{self::A::i}; 76 super.{self::A::i};
74 self::use(super.{self::A::i}); 77 self::use(super.{self::A::i});
75 super.{self::A::[]}(87); 78 super.{self::A::[]}(87);
76 self::use(super.{self::A::[]}(87)); 79 self::use(super.{self::A::[]}(87));
77 super.{self::A::m}; 80 super.{self::A::m};
78 self::use(super.{self::A::m}); 81 self::use(super.{self::A::m});
79 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 82 super.{self::A::n};
80 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 83 self::use(super.{self::A::n});
81 super.{self::A::a} = super.{self::A::a}.+(1); 84 super.a = super.a.+(1);
82 self::use(let final dynamic #t1 = super.{self::A::a} in let final dynamic #t 2 = super.{self::A::a} = #t1.+(1) in #t1); 85 self::use(let final dynamic #t1 = super.a in let final dynamic #t2 = super.a = #t1.+(1) in #t1);
83 super.{self::A::b} = super.{self::B::b}.+(1); 86 super.b = super.b.+(1);
84 self::use(let final dynamic #t3 = super.{self::B::b} in let final dynamic #t 4 = super.{self::A::b} = #t3.+(1) in #t3); 87 self::use(let final dynamic #t3 = super.b in let final dynamic #t4 = super.b = #t3.+(1) in #t3);
85 super.{self::B::c} = super.{self::A::c}.+(1); 88 super.c = super.c.+(1);
86 self::use(let final dynamic #t5 = super.{self::A::c} in let final dynamic #t 6 = super.{self::B::c} = #t5.+(1) in #t5); 89 self::use(let final dynamic #t5 = super.c in let final dynamic #t6 = super.c = #t5.+(1) in #t5);
87 super.d = super.{self::B::d}.+(1); 90 super.d = super.d.+(1);
88 self::use(let final dynamic #t7 = super.{self::B::d} in let final dynamic #t 8 = super.d = #t7.+(1) in #t7); 91 self::use(let final dynamic #t7 = super.d in let final dynamic #t8 = super.d = #t7.+(1) in #t7);
89 super.e = super.{self::A::e}.+(1); 92 let final dynamic #t9 = super.e.+(1) in let final dynamic #t10 = super.noSuc hMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growab le: false), <dynamic>[this, #t9].toList(growable: false), true)) in #t9;
90 self::use(let final dynamic #t9 = super.{self::A::e} in let final dynamic #t 10 = super.e = #t9.+(1) in #t9); 93 self::use(let final dynamic #t11 = super.e in let final dynamic #t12 = let f inal dynamic #t13 = #t11.+(1) in let final dynamic #t14 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t13].toList(growable: false), true)) in #t13 in #t11);
91 super.f = super.{self::A::f}.+(1); 94 let final dynamic #t15 = super.f.+(1) in let final dynamic #t16 = super.noSu chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t15].toList(growable: false), true)) in #t15;
92 self::use(let final dynamic #t11 = super.{self::A::f} in let final dynamic # t12 = super.f = #t11.+(1) in #t11); 95 self::use(let final dynamic #t17 = super.f in let final dynamic #t18 = let f inal dynamic #t19 = #t17.+(1) in let final dynamic #t20 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t19].toList(growable: false), true)) in #t19 in #t17);
93 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn amic>{}, null); 96 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr ue)).+(1);
94 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy namic, dynamic>{}, null)); 97 self::use(let final dynamic #t21 = super.noSuchMethod(new core::_InvocationM irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to List(growable: false), true)) in let final dynamic #t22 = super.g = #t21.+(1) in #t21);
95 super.{self::A::h} = super.{self::A::h}.+(1); 98 super.h = super.h.+(1);
96 self::use(let final dynamic #t13 = super.{self::A::h} in let final dynamic # t14 = super.{self::A::h} = #t13.+(1) in #t13); 99 self::use(let final dynamic #t23 = super.h in let final dynamic #t24 = super .h = #t23.+(1) in #t23);
97 super.{self::B::i} = super.{self::A::i}.+(1); 100 super.i = super.i.+(1);
98 self::use(let final dynamic #t15 = super.{self::A::i} in let final dynamic # t16 = super.{self::B::i} = #t15.+(1) in #t15); 101 self::use(let final dynamic #t25 = super.i in let final dynamic #t26 = super .i = #t25.+(1) in #t25);
99 let final dynamic #t17 = 87 in super.{self::A::[]=}(#t17, super.{self::A::[] }(#t17).+(1)); 102 let final dynamic #t27 = 87 in super.[]=(#t27, super.[](#t27).+(1));
100 self::use(let final dynamic #t18 = 87 in let final dynamic #t19 = super.{sel f::A::[]}(#t18) in let final dynamic #t20 = super.{self::A::[]=}(#t18, #t19.+(1) ) in #t19); 103 self::use(let final dynamic #t28 = 87 in let final dynamic #t29 = super.[](# t28) in let final dynamic #t30 = super.[]=(#t28, #t29.+(1)) in #t29);
101 super.m = super.{self::A::m}.+(1); 104 let final dynamic #t31 = super.m.+(1) in let final dynamic #t32 = super.noSu chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t31].toList(growable: false), true)) in #t31;
102 self::use(let final dynamic #t21 = super.{self::A::m} in let final dynamic # t22 = super.m = #t21.+(1) in #t21); 105 self::use(let final dynamic #t33 = super.m in let final dynamic #t34 = let f inal dynamic #t35 = #t33.+(1) in let final dynamic #t36 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t35].toList(growable: false), true)) in #t35 in #t33);
103 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 106 super.n = super.n.+(1);
104 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 107 self::use(let final dynamic #t37 = super.n in let final dynamic #t38 = super .n = #t37.+(1) in #t37);
105 super.{self::A::a} = super.{self::A::a}.+(1); 108 super.a = super.a.+(1);
106 self::use(super.{self::A::a} = super.{self::A::a}.+(1)); 109 self::use(super.a = super.a.+(1));
107 super.{self::A::b} = super.{self::B::b}.+(1); 110 super.b = super.b.+(1);
108 self::use(super.{self::A::b} = super.{self::B::b}.+(1)); 111 self::use(super.b = super.b.+(1));
109 super.{self::B::c} = super.{self::A::c}.+(1); 112 super.c = super.c.+(1);
110 self::use(super.{self::B::c} = super.{self::A::c}.+(1)); 113 self::use(super.c = super.c.+(1));
111 super.d = super.{self::B::d}.+(1); 114 super.d = super.d.+(1);
112 self::use(super.d = super.{self::B::d}.+(1)); 115 self::use(super.d = super.d.+(1));
113 super.e = super.{self::A::e}.+(1); 116 let final dynamic #t39 = super.e.+(1) in let final dynamic #t40 = super.noSu chMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t39].toList(growable: false), true)) in #t39;
114 self::use(super.e = super.{self::A::e}.+(1)); 117 self::use(let final dynamic #t41 = super.e.+(1) in let final dynamic #t42 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].to List(growable: false), <dynamic>[this, #t41].toList(growable: false), true)) in #t41);
115 super.f = super.{self::A::f}.+(1); 118 let final dynamic #t43 = super.f.+(1) in let final dynamic #t44 = super.noSu chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t43].toList(growable: false), true)) in #t43;
116 self::use(super.f = super.{self::A::f}.+(1)); 119 self::use(let final dynamic #t45 = super.f.+(1) in let final dynamic #t46 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].to List(growable: false), <dynamic>[this, #t45].toList(growable: false), true)) in #t45);
117 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn amic>{}, null); 120 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr ue)).+(1);
118 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy namic, dynamic>{}, null)); 121 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g ", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)).+(1));
119 super.{self::A::h} = super.{self::A::h}.+(1); 122 super.h = super.h.+(1);
120 self::use(super.{self::A::h} = super.{self::A::h}.+(1)); 123 self::use(super.h = super.h.+(1));
121 super.{self::B::i} = super.{self::A::i}.+(1); 124 super.i = super.i.+(1);
122 self::use(super.{self::B::i} = super.{self::A::i}.+(1)); 125 self::use(super.i = super.i.+(1));
123 let final dynamic #t23 = 87 in super.{self::A::[]=}(#t23, super.{self::A::[] }(#t23).+(1)); 126 let final dynamic #t47 = 87 in let final dynamic #t48 = super.[](#t47).+(1) in let final dynamic #t49 = super.[]=(#t47, #t48) in #t48;
124 self::use(let final dynamic #t24 = 87 in let final dynamic #t25 = super.{sel f::A::[]}(#t24).+(1) in let final dynamic #t26 = super.{self::A::[]=}(#t24, #t25 ) in #t25); 127 self::use(let final dynamic #t50 = 87 in let final dynamic #t51 = super.[](# t50).+(1) in let final dynamic #t52 = super.[]=(#t50, #t51) in #t51);
125 super.m = super.{self::A::m}.+(1); 128 let final dynamic #t53 = super.m.+(1) in let final dynamic #t54 = super.noSu chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t53].toList(growable: false), true)) in #t53;
126 self::use(super.m = super.{self::A::m}.+(1)); 129 self::use(let final dynamic #t55 = super.m.+(1) in let final dynamic #t56 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].to List(growable: false), <dynamic>[this, #t55].toList(growable: false), true)) in #t55);
127 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 130 super.n = super.n.+(1);
128 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 131 self::use(super.n = super.n.+(1));
129 super.{self::A::a}.call(); 132 super.{self::A::a}.call();
130 self::use(super.{self::A::a}.call()); 133 self::use(super.{self::A::a}.call());
131 super.{self::B::b}.call(); 134 super.{self::B::b}.call();
132 self::use(super.{self::B::b}.call()); 135 self::use(super.{self::B::b}.call());
133 super.{self::A::c}.call(); 136 super.{self::A::c}.call();
134 self::use(super.{self::A::c}.call()); 137 self::use(super.{self::A::c}.call());
135 super.{self::B::d}.call(); 138 super.{self::B::d}.call();
136 self::use(super.{self::B::d}.call()); 139 self::use(super.{self::B::d}.call());
137 super.{self::A::e}.call(); 140 super.{self::A::e}.call();
138 self::use(super.{self::A::e}.call()); 141 self::use(super.{self::A::e}.call());
139 super.{self::A::f}.call(); 142 super.{self::A::f}.call();
140 self::use(super.{self::A::f}.call()); 143 self::use(super.{self::A::f}.call());
141 super.g.call(); 144 super.noSuchMethod(new core::_InvocationMirror::•("g", <dynamic>[0, 1, 1].to List(growable: false), <dynamic>[this].toList(growable: false), true));
142 self::use(super.g.call()); 145 self::use(super.noSuchMethod(new core::_InvocationMirror::•("g", <dynamic>[0 , 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)) );
143 super.{self::A::h}.call(); 146 super.{self::A::h}.call();
144 self::use(super.{self::A::h}.call()); 147 self::use(super.{self::A::h}.call());
145 super.{self::A::i}.call(); 148 super.{self::A::i}.call();
146 self::use(super.{self::A::i}.call()); 149 self::use(super.{self::A::i}.call());
147 super.{self::A::[]}(87).call(); 150 super.{self::A::[]}(87).call();
148 self::use(super.{self::A::[]}(87).call()); 151 self::use(super.{self::A::[]}(87).call());
149 super.{self::A::m}(); 152 super.m();
150 self::use(super.{self::A::m}()); 153 self::use(super.m());
151 super.{self::A::m}(87); 154 super.m(87);
152 self::use(super.{self::A::m}(87)); 155 self::use(super.m(87));
153 throw core::_unresolvedSuperMethodError(this, #n, <dynamic>[87], <dynamic, d ynamic>{}, null); 156 super.n(87);
154 self::use(throw core::_unresolvedSuperMethodError(this, #n, <dynamic>[87], < dynamic, dynamic>{}, null)); 157 self::use(super.n(87));
155 super.{self::A::a} = 42; 158 super.a = 42;
156 self::use(super.{self::A::a} = 42); 159 self::use(super.a = 42);
157 super.{self::A::b} = 42; 160 super.b = 42;
158 self::use(super.{self::A::b} = 42); 161 self::use(super.b = 42);
159 super.{self::B::c} = 42; 162 super.c = 42;
160 self::use(super.{self::B::c} = 42); 163 self::use(super.c = 42);
161 super.d = 42; 164 super.d = 42;
162 self::use(super.d = 42); 165 self::use(super.d = 42);
163 super.e = 42; 166 let final dynamic #t57 = 42 in let final dynamic #t58 = super.noSuchMethod(n ew core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false ), <dynamic>[this, #t57].toList(growable: false), true)) in #t57;
164 self::use(super.e = 42); 167 self::use(let final dynamic #t59 = 42 in let final dynamic #t60 = super.noSu chMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t59].toList(growable: false), true)) in #t59);
165 super.f = 42; 168 let final dynamic #t61 = 42 in let final dynamic #t62 = super.noSuchMethod(n ew core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false ), <dynamic>[this, #t61].toList(growable: false), true)) in #t61;
166 self::use(super.f = 42); 169 self::use(let final dynamic #t63 = 42 in let final dynamic #t64 = super.noSu chMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t63].toList(growable: false), true)) in #t63);
167 super.{self::A::g} = 42; 170 super.g = 42;
168 self::use(super.{self::A::g} = 42); 171 self::use(super.g = 42);
169 super.{self::A::h} = 42; 172 super.h = 42;
170 self::use(super.{self::A::h} = 42); 173 self::use(super.h = 42);
171 super.{self::B::i} = 42; 174 super.i = 42;
172 self::use(super.{self::B::i} = 42); 175 self::use(super.i = 42);
173 super.{self::A::[]=}(87, 42); 176 super.[]=(87, 42);
174 self::use(let final dynamic #t27 = 87 in let final dynamic #t28 = 42 in let final dynamic #t29 = super.{self::A::[]=}(#t27, #t28) in #t28); 177 self::use(let final dynamic #t65 = 87 in let final dynamic #t66 = 42 in let final dynamic #t67 = super.[]=(#t65, #t66) in #t66);
175 super.m = 42; 178 let final dynamic #t68 = 42 in let final dynamic #t69 = super.noSuchMethod(n ew core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false ), <dynamic>[this, #t68].toList(growable: false), true)) in #t68;
176 self::use(super.m = 42); 179 self::use(let final dynamic #t70 = 42 in let final dynamic #t71 = super.noSu chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t70].toList(growable: false), true)) in #t70);
177 throw core::_unresolvedSuperSetterError(this, #n, <dynamic>[42], <dynamic, d ynamic>{}, null); 180 super.n = 42;
178 self::use(throw core::_unresolvedSuperSetterError(this, #n, <dynamic>[42], < dynamic, dynamic>{}, null)); 181 self::use(super.n = 42);
179 super.{self::A::a}.==(null) ? super.{self::A::a} = 42 : null; 182 super.a.==(null) ?{dynamic} super.a = 42 : null;
180 self::use(let final dynamic #t30 = super.{self::A::a} in #t30.==(null) ? sup er.{self::A::a} = 42 : #t30); 183 self::use(let final dynamic #t72 = super.a in #t72.==(null) ?{dynamic} super .a = 42 : #t72);
181 super.{self::B::b}.==(null) ? super.{self::A::b} = 42 : null; 184 super.b.==(null) ?{dynamic} super.b = 42 : null;
182 self::use(let final dynamic #t31 = super.{self::B::b} in #t31.==(null) ? sup er.{self::A::b} = 42 : #t31); 185 self::use(let final dynamic #t73 = super.b in #t73.==(null) ?{dynamic} super .b = 42 : #t73);
183 super.{self::A::c}.==(null) ? super.{self::B::c} = 42 : null; 186 super.c.==(null) ?{dynamic} super.c = 42 : null;
184 self::use(let final dynamic #t32 = super.{self::A::c} in #t32.==(null) ? sup er.{self::B::c} = 42 : #t32); 187 self::use(let final dynamic #t74 = super.c in #t74.==(null) ?{dynamic} super .c = 42 : #t74);
185 super.{self::B::d}.==(null) ? super.d = 42 : null; 188 super.d.==(null) ?{dynamic} super.d = 42 : null;
186 self::use(let final dynamic #t33 = super.{self::B::d} in #t33.==(null) ? sup er.d = 42 : #t33); 189 self::use(let final dynamic #t75 = super.d in #t75.==(null) ?{dynamic} super .d = 42 : #t75);
187 super.{self::A::e}.==(null) ? super.e = 42 : null; 190 super.e.==(null) ?{dynamic} let final dynamic #t76 = 42 in let final dynamic #t77 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t76].toList(growable: false), tr ue)) in #t76 : null;
188 self::use(let final dynamic #t34 = super.{self::A::e} in #t34.==(null) ? sup er.e = 42 : #t34); 191 self::use(let final dynamic #t78 = super.e in #t78.==(null) ?{dynamic} let f inal dynamic #t79 = 42 in let final dynamic #t80 = super.noSuchMethod(new core:: _InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynam ic>[this, #t79].toList(growable: false), true)) in #t79 : #t78);
189 super.{self::A::f}.==(null) ? super.f = 42 : null; 192 super.f.==(null) ?{dynamic} let final dynamic #t81 = 42 in let final dynamic #t82 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t81].toList(growable: false), tr ue)) in #t81 : null;
190 self::use(let final dynamic #t35 = super.{self::A::f} in #t35.==(null) ? sup er.f = 42 : #t35); 193 self::use(let final dynamic #t83 = super.f in #t83.==(null) ?{dynamic} let f inal dynamic #t84 = 42 in let final dynamic #t85 = super.noSuchMethod(new core:: _InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynam ic>[this, #t84].toList(growable: false), true)) in #t84 : #t83);
191 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn amic>{}, null); 194 super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynamic>[0, 1, 1 ].toList(growable: false), <dynamic>[this].toList(growable: false), true)).==(nu ll) ?{dynamic} super.g = 42 : null;
192 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy namic, dynamic>{}, null)); 195 self::use(let final dynamic #t86 = super.noSuchMethod(new core::_InvocationM irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to List(growable: false), true)) in #t86.==(null) ?{dynamic} super.g = 42 : #t86);
193 super.{self::A::h}.==(null) ? super.{self::A::h} = 42 : null; 196 super.h.==(null) ?{dynamic} super.h = 42 : null;
194 self::use(let final dynamic #t36 = super.{self::A::h} in #t36.==(null) ? sup er.{self::A::h} = 42 : #t36); 197 self::use(let final dynamic #t87 = super.h in #t87.==(null) ?{dynamic} super .h = 42 : #t87);
195 super.{self::A::i}.==(null) ? super.{self::B::i} = 42 : null; 198 super.i.==(null) ?{dynamic} super.i = 42 : null;
196 self::use(let final dynamic #t37 = super.{self::A::i} in #t37.==(null) ? sup er.{self::B::i} = 42 : #t37); 199 self::use(let final dynamic #t88 = super.i in #t88.==(null) ?{dynamic} super .i = 42 : #t88);
197 let final dynamic #t38 = 87 in super.{self::A::[]}(#t38).==(null) ? super.{s elf::A::[]=}(#t38, 42) : null; 200 let final dynamic #t89 = 87 in super.[](#t89).==(null) ?{dynamic} let final dynamic #t90 = 42 in let final dynamic #t91 = super.[]=(#t89, #t90) in #t90 : nu ll;
198 self::use(let final dynamic #t39 = 87 in let final dynamic #t40 = super.{sel f::A::[]}(#t39) in #t40.==(null) ? let final dynamic #t41 = 42 in let final dyna mic #t42 = super.{self::A::[]=}(#t39, #t41) in #t41 : #t40); 201 self::use(let final dynamic #t92 = 87 in let final dynamic #t93 = super.[](# t92) in #t93.==(null) ?{dynamic} let final dynamic #t94 = 42 in let final dynami c #t95 = super.[]=(#t92, #t94) in #t94 : #t93);
199 super.{self::A::m}.==(null) ? super.m = 42 : null; 202 super.m.==(null) ?{dynamic} let final dynamic #t96 = 42 in let final dynamic #t97 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t96].toList(growable: false), tr ue)) in #t96 : null;
200 self::use(let final dynamic #t43 = super.{self::A::m} in #t43.==(null) ? sup er.m = 42 : #t43); 203 self::use(let final dynamic #t98 = super.m in #t98.==(null) ?{dynamic} let f inal dynamic #t99 = 42 in let final dynamic #t100 = super.noSuchMethod(new core: :_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dyna mic>[this, #t99].toList(growable: false), true)) in #t99 : #t98);
201 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 204 super.n.==(null) ?{dynamic} super.n = 42 : null;
202 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 205 self::use(let final dynamic #t101 = super.n in #t101.==(null) ?{dynamic} sup er.n = 42 : #t101);
203 super.{self::A::a} = super.{self::A::a}.+(42); 206 super.a = super.a.+(42);
204 self::use(super.{self::A::a} = super.{self::A::a}.+(42)); 207 self::use(super.a = super.a.+(42));
205 super.{self::A::b} = super.{self::B::b}.+(42); 208 super.b = super.b.+(42);
206 self::use(super.{self::A::b} = super.{self::B::b}.+(42)); 209 self::use(super.b = super.b.+(42));
207 super.{self::B::c} = super.{self::A::c}.+(42); 210 super.c = super.c.+(42);
208 self::use(super.{self::B::c} = super.{self::A::c}.+(42)); 211 self::use(super.c = super.c.+(42));
209 super.d = super.{self::B::d}.+(42); 212 super.d = super.d.+(42);
210 self::use(super.d = super.{self::B::d}.+(42)); 213 self::use(super.d = super.d.+(42));
211 super.e = super.{self::A::e}.+(42); 214 let final dynamic #t102 = super.e.+(42) in let final dynamic #t103 = super.n oSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t102].toList(growable: false), true)) in #t102;
212 self::use(super.e = super.{self::A::e}.+(42)); 215 self::use(let final dynamic #t104 = super.e.+(42) in let final dynamic #t105 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t104].toList(growable: false), true)) in #t104);
213 super.f = super.{self::A::f}.+(42); 216 let final dynamic #t106 = super.f.+(42) in let final dynamic #t107 = super.n oSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t106].toList(growable: false), true)) in #t106;
214 self::use(super.f = super.{self::A::f}.+(42)); 217 self::use(let final dynamic #t108 = super.f.+(42) in let final dynamic #t109 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t108].toList(growable: false), true)) in #t108);
215 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn amic>{}, null); 218 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr ue)).+(42);
216 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy namic, dynamic>{}, null)); 219 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g ", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)).+(42));
217 super.{self::A::h} = super.{self::A::h}.+(42); 220 super.h = super.h.+(42);
218 self::use(super.{self::A::h} = super.{self::A::h}.+(42)); 221 self::use(super.h = super.h.+(42));
219 super.{self::B::i} = super.{self::A::i}.+(42); 222 super.i = super.i.+(42);
220 self::use(super.{self::B::i} = super.{self::A::i}.+(42)); 223 self::use(super.i = super.i.+(42));
221 let final dynamic #t44 = 87 in super.{self::A::[]=}(#t44, super.{self::A::[] }(#t44).+(42)); 224 let final dynamic #t110 = 87 in super.[]=(#t110, super.[](#t110).+(42));
222 self::use(let final dynamic #t45 = 87 in let final dynamic #t46 = super.{sel f::A::[]}(#t45).+(42) in let final dynamic #t47 = super.{self::A::[]=}(#t45, #t4 6) in #t46); 225 self::use(let final dynamic #t111 = 87 in let final dynamic #t112 = super.[] (#t111).+(42) in let final dynamic #t113 = super.[]=(#t111, #t112) in #t112);
223 super.m = super.{self::A::m}.+(42); 226 let final dynamic #t114 = super.m.+(42) in let final dynamic #t115 = super.n oSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t114].toList(growable: false), true)) in #t114;
224 self::use(super.m = super.{self::A::m}.+(42)); 227 self::use(let final dynamic #t116 = super.m.+(42) in let final dynamic #t117 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t116].toList(growable: false), true)) in #t116);
225 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 228 super.n = super.n.+(42);
226 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 229 self::use(super.n = super.n.+(42));
227 super.{self::A::a} = super.{self::A::a}.-(42); 230 super.a = super.a.-(42);
228 self::use(super.{self::A::a} = super.{self::A::a}.-(42)); 231 self::use(super.a = super.a.-(42));
229 super.{self::A::b} = super.{self::B::b}.-(42); 232 super.b = super.b.-(42);
230 self::use(super.{self::A::b} = super.{self::B::b}.-(42)); 233 self::use(super.b = super.b.-(42));
231 super.{self::B::c} = super.{self::A::c}.-(42); 234 super.c = super.c.-(42);
232 self::use(super.{self::B::c} = super.{self::A::c}.-(42)); 235 self::use(super.c = super.c.-(42));
233 super.d = super.{self::B::d}.-(42); 236 super.d = super.d.-(42);
234 self::use(super.d = super.{self::B::d}.-(42)); 237 self::use(super.d = super.d.-(42));
235 super.e = super.{self::A::e}.-(42); 238 let final dynamic #t118 = super.e.-(42) in let final dynamic #t119 = super.n oSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t118].toList(growable: false), true)) in #t118;
236 self::use(super.e = super.{self::A::e}.-(42)); 239 self::use(let final dynamic #t120 = super.e.-(42) in let final dynamic #t121 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t120].toList(growable: false), true)) in #t120);
237 super.f = super.{self::A::f}.-(42); 240 let final dynamic #t122 = super.f.-(42) in let final dynamic #t123 = super.n oSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t122].toList(growable: false), true)) in #t122;
238 self::use(super.f = super.{self::A::f}.-(42)); 241 self::use(let final dynamic #t124 = super.f.-(42) in let final dynamic #t125 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t124].toList(growable: false), true)) in #t124);
239 throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dynamic, dyn amic>{}, null); 242 super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynami c>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), tr ue)).-(42);
240 self::use(throw core::_unresolvedSuperGetterError(this, #g, <dynamic>[], <dy namic, dynamic>{}, null)); 243 self::use(super.g = super.noSuchMethod(new core::_InvocationMirror::•("get:g ", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].toList(growable: false), true)).-(42));
241 super.{self::A::h} = super.{self::A::h}.-(42); 244 super.h = super.h.-(42);
242 self::use(super.{self::A::h} = super.{self::A::h}.-(42)); 245 self::use(super.h = super.h.-(42));
243 super.{self::B::i} = super.{self::A::i}.-(42); 246 super.i = super.i.-(42);
244 self::use(super.{self::B::i} = super.{self::A::i}.-(42)); 247 self::use(super.i = super.i.-(42));
245 let final dynamic #t48 = 87 in super.{self::A::[]=}(#t48, super.{self::A::[] }(#t48).-(42)); 248 let final dynamic #t126 = 87 in super.[]=(#t126, super.[](#t126).-(42));
246 self::use(let final dynamic #t49 = 87 in let final dynamic #t50 = super.{sel f::A::[]}(#t49).-(42) in let final dynamic #t51 = super.{self::A::[]=}(#t49, #t5 0) in #t50); 249 self::use(let final dynamic #t127 = 87 in let final dynamic #t128 = super.[] (#t127).-(42) in let final dynamic #t129 = super.[]=(#t127, #t128) in #t128);
247 super.m = super.{self::A::m}.-(42); 250 let final dynamic #t130 = super.m.-(42) in let final dynamic #t131 = super.n oSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(gr owable: false), <dynamic>[this, #t130].toList(growable: false), true)) in #t130;
248 self::use(super.m = super.{self::A::m}.-(42)); 251 self::use(let final dynamic #t132 = super.m.-(42) in let final dynamic #t133 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t132].toList(growable: false), true)) in #t132);
249 throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dynamic, dyn amic>{}, null); 252 super.n = super.n.-(42);
250 self::use(throw core::_unresolvedSuperGetterError(this, #n, <dynamic>[], <dy namic, dynamic>{}, null)); 253 self::use(super.n = super.n.-(42));
251 } 254 }
252 } 255 }
256 const field dynamic #errors = const <dynamic>["pkg/front_end/testcases/rasta/sup er.dart:43:5: Error: '+' is not a prefix operator. \n +super;\n ^", "pkg/f ront_end/testcases/rasta/super.dart:44:9: Error: '+' is not a prefix operator. \ n use(+super);\n ^"]/* from null */;
253 static method use(dynamic x) → dynamic { 257 static method use(dynamic x) → dynamic {
254 if(x.==(new core::DateTime::now().millisecondsSinceEpoch)) 258 if(x.==(new core::DateTime::now().millisecondsSinceEpoch))
255 throw "Shouldn't happen"; 259 throw "Shouldn't happen";
256 } 260 }
257 static method main() → dynamic { 261 static method main() → dynamic {
258 new self::C::•().test(); 262 new self::C::•().test();
259 } 263 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/rasta/static.dart.direct.expect ('k') | pkg/front_end/testcases/rasta/super_mixin.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698