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

Side by Side Diff: pkg/front_end/testcases/super_rasta_copy.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 = null; 6 field dynamic a = null;
7 field dynamic b = null; 7 field dynamic b = null;
8 field dynamic c = null; 8 field dynamic c = null;
9 field dynamic d = null; 9 field dynamic d = null;
10 final field dynamic f = null; 10 final field dynamic f = null;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 super.g = 42; 158 super.g = 42;
159 self::use(super.g = 42); 159 self::use(super.g = 42);
160 super.h = 42; 160 super.h = 42;
161 self::use(super.h = 42); 161 self::use(super.h = 42);
162 super.i = 42; 162 super.i = 42;
163 self::use(super.i = 42); 163 self::use(super.i = 42);
164 super.[]=(87, 42); 164 super.[]=(87, 42);
165 self::use(let final dynamic #t63 = 87 in let final dynamic #t64 = 42 in let final dynamic #t65 = super.[]=(#t63, #t64) in #t64); 165 self::use(let final dynamic #t63 = 87 in let final dynamic #t64 = 42 in let final dynamic #t65 = super.[]=(#t63, #t64) in #t64);
166 let final dynamic #t66 = 42 in let final dynamic #t67 = super.noSuchMethod(n ew core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false ), <dynamic>[this, #t66].toList(growable: false), true)) in #t66; 166 let final dynamic #t66 = 42 in let final dynamic #t67 = super.noSuchMethod(n ew core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false ), <dynamic>[this, #t66].toList(growable: false), true)) in #t66;
167 self::use(let final dynamic #t68 = 42 in let final dynamic #t69 = super.noSu chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t68].toList(growable: false), true)) in #t68); 167 self::use(let final dynamic #t68 = 42 in let final dynamic #t69 = super.noSu chMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growa ble: false), <dynamic>[this, #t68].toList(growable: false), true)) in #t68);
168 super.a.==(null) ? super.a = 42 : null; 168 super.a.==(null) ?{dynamic} super.a = 42 : null;
169 self::use(let final dynamic #t70 = super.a in #t70.==(null) ? super.a = 42 : #t70); 169 self::use(let final dynamic #t70 = super.a in #t70.==(null) ?{dynamic} super .a = 42 : #t70);
170 super.b.==(null) ? super.b = 42 : null; 170 super.b.==(null) ?{dynamic} super.b = 42 : null;
171 self::use(let final dynamic #t71 = super.b in #t71.==(null) ? super.b = 42 : #t71); 171 self::use(let final dynamic #t71 = super.b in #t71.==(null) ?{dynamic} super .b = 42 : #t71);
172 super.c.==(null) ? super.c = 42 : null; 172 super.c.==(null) ?{dynamic} super.c = 42 : null;
173 self::use(let final dynamic #t72 = super.c in #t72.==(null) ? super.c = 42 : #t72); 173 self::use(let final dynamic #t72 = super.c in #t72.==(null) ?{dynamic} super .c = 42 : #t72);
174 super.d.==(null) ? super.d = 42 : null; 174 super.d.==(null) ?{dynamic} super.d = 42 : null;
175 self::use(let final dynamic #t73 = super.d in #t73.==(null) ? super.d = 42 : #t73); 175 self::use(let final dynamic #t73 = super.d in #t73.==(null) ?{dynamic} super .d = 42 : #t73);
176 super.e.==(null) ? let final dynamic #t74 = 42 in let final dynamic #t75 = s uper.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toL ist(growable: false), <dynamic>[this, #t74].toList(growable: false), true)) in # t74 : null; 176 super.e.==(null) ?{dynamic} let final dynamic #t74 = 42 in let final dynamic #t75 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t74].toList(growable: false), tr ue)) in #t74 : null;
177 self::use(let final dynamic #t76 = super.e in #t76.==(null) ? let final dyna mic #t77 = 42 in let final dynamic #t78 = super.noSuchMethod(new core::_Invocati onMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t77].toList(growable: false), true)) in #t77 : #t76); 177 self::use(let final dynamic #t76 = super.e in #t76.==(null) ?{dynamic} let f inal dynamic #t77 = 42 in let final dynamic #t78 = super.noSuchMethod(new core:: _InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(growable: false), <dynam ic>[this, #t77].toList(growable: false), true)) in #t77 : #t76);
178 super.f.==(null) ? let final dynamic #t79 = 42 in let final dynamic #t80 = s uper.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toL ist(growable: false), <dynamic>[this, #t79].toList(growable: false), true)) in # t79 : null; 178 super.f.==(null) ?{dynamic} let final dynamic #t79 = 42 in let final dynamic #t80 = super.noSuchMethod(new core::_InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t79].toList(growable: false), tr ue)) in #t79 : null;
179 self::use(let final dynamic #t81 = super.f in #t81.==(null) ? let final dyna mic #t82 = 42 in let final dynamic #t83 = super.noSuchMethod(new core::_Invocati onMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t82].toList(growable: false), true)) in #t82 : #t81); 179 self::use(let final dynamic #t81 = super.f in #t81.==(null) ?{dynamic} let f inal dynamic #t82 = 42 in let final dynamic #t83 = super.noSuchMethod(new core:: _InvocationMirror::•("set:f", <dynamic>[0, 2, 2].toList(growable: false), <dynam ic>[this, #t82].toList(growable: false), true)) in #t82 : #t81);
180 super.noSuchMethod(new core::_InvocationMirror::•("get:g", <dynamic>[0, 1, 1 ].toList(growable: false), <dynamic>[this].toList(growable: false), true)).==(nu ll) ? super.g = 42 : null; 180 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;
181 self::use(let final dynamic #t84 = super.noSuchMethod(new core::_InvocationM irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to List(growable: false), true)) in #t84.==(null) ? super.g = 42 : #t84); 181 self::use(let final dynamic #t84 = super.noSuchMethod(new core::_InvocationM irror::•("get:g", <dynamic>[0, 1, 1].toList(growable: false), <dynamic>[this].to List(growable: false), true)) in #t84.==(null) ?{dynamic} super.g = 42 : #t84);
182 super.h.==(null) ? super.h = 42 : null; 182 super.h.==(null) ?{dynamic} super.h = 42 : null;
183 self::use(let final dynamic #t85 = super.h in #t85.==(null) ? super.h = 42 : #t85); 183 self::use(let final dynamic #t85 = super.h in #t85.==(null) ?{dynamic} super .h = 42 : #t85);
184 super.i.==(null) ? super.i = 42 : null; 184 super.i.==(null) ?{dynamic} super.i = 42 : null;
185 self::use(let final dynamic #t86 = super.i in #t86.==(null) ? super.i = 42 : #t86); 185 self::use(let final dynamic #t86 = super.i in #t86.==(null) ?{dynamic} super .i = 42 : #t86);
186 let final dynamic #t87 = 87 in super.[](#t87).==(null) ? let final dynamic # t88 = 42 in let final dynamic #t89 = super.[]=(#t87, #t88) in #t88 : null; 186 let final dynamic #t87 = 87 in super.[](#t87).==(null) ?{dynamic} let final dynamic #t88 = 42 in let final dynamic #t89 = super.[]=(#t87, #t88) in #t88 : nu ll;
187 self::use(let final dynamic #t90 = 87 in let final dynamic #t91 = super.[](# t90) in #t91.==(null) ? let final dynamic #t92 = 42 in let final dynamic #t93 = super.[]=(#t90, #t92) in #t92 : #t91); 187 self::use(let final dynamic #t90 = 87 in let final dynamic #t91 = super.[](# t90) in #t91.==(null) ?{dynamic} let final dynamic #t92 = 42 in let final dynami c #t93 = super.[]=(#t90, #t92) in #t92 : #t91);
188 super.m.==(null) ? let final dynamic #t94 = 42 in let final dynamic #t95 = s uper.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toL ist(growable: false), <dynamic>[this, #t94].toList(growable: false), true)) in # t94 : null; 188 super.m.==(null) ?{dynamic} let final dynamic #t94 = 42 in let final dynamic #t95 = super.noSuchMethod(new core::_InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t94].toList(growable: false), tr ue)) in #t94 : null;
189 self::use(let final dynamic #t96 = super.m in #t96.==(null) ? let final dyna mic #t97 = 42 in let final dynamic #t98 = super.noSuchMethod(new core::_Invocati onMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, #t97].toList(growable: false), true)) in #t97 : #t96); 189 self::use(let final dynamic #t96 = super.m in #t96.==(null) ?{dynamic} let f inal dynamic #t97 = 42 in let final dynamic #t98 = super.noSuchMethod(new core:: _InvocationMirror::•("set:m", <dynamic>[0, 2, 2].toList(growable: false), <dynam ic>[this, #t97].toList(growable: false), true)) in #t97 : #t96);
190 super.a = super.a.+(42); 190 super.a = super.a.+(42);
191 self::use(super.a = super.a.+(42)); 191 self::use(super.a = super.a.+(42));
192 super.b = super.b.+(42); 192 super.b = super.b.+(42);
193 self::use(super.b = super.b.+(42)); 193 self::use(super.b = super.b.+(42));
194 super.c = super.c.+(42); 194 super.c = super.c.+(42);
195 self::use(super.c = super.c.+(42)); 195 self::use(super.c = super.c.+(42));
196 super.d = super.d.+(42); 196 super.d = super.d.+(42);
197 self::use(super.d = super.d.+(42)); 197 self::use(super.d = super.d.+(42));
198 let final dynamic #t99 = super.e.+(42) in let final dynamic #t100 = super.no SuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gro wable: false), <dynamic>[this, #t99].toList(growable: false), true)) in #t99; 198 let final dynamic #t99 = super.e.+(42) in let final dynamic #t100 = super.no SuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2].toList(gro wable: false), <dynamic>[this, #t99].toList(growable: false), true)) in #t99;
199 self::use(let final dynamic #t101 = super.e.+(42) in let final dynamic #t102 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t101].toList(growable: false), true)) in #t101); 199 self::use(let final dynamic #t101 = super.e.+(42) in let final dynamic #t102 = super.noSuchMethod(new core::_InvocationMirror::•("set:e", <dynamic>[0, 2, 2] .toList(growable: false), <dynamic>[this, #t101].toList(growable: false), true)) in #t101);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 239 }
240 static method main() → dynamic { 240 static method main() → dynamic {
241 try { 241 try {
242 new self::C::•().test(); 242 new self::C::•().test();
243 } 243 }
244 on core::NoSuchMethodError catch(no-exception-var) { 244 on core::NoSuchMethodError catch(no-exception-var) {
245 return; 245 return;
246 } 246 }
247 throw "Test failed"; 247 throw "Test failed";
248 } 248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698