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

Side by Side Diff: pkg/front_end/testcases/rasta/super_operator.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 constructor •() → void 6 constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 operator +(core::String s) → dynamic 9 operator +(core::String s) → dynamic
10 return null; 10 return null;
11 operator [](dynamic i) → dynamic 11 operator [](dynamic i) → dynamic
12 return null; 12 return null;
13 operator []=(dynamic i, dynamic val) → dynamic {} 13 operator []=(dynamic i, dynamic val) → dynamic {}
14 } 14 }
15 class B extends self::A { 15 class B extends self::A {
16 constructor •() → void 16 constructor •() → void
17 : super self::A::•() 17 : super self::A::•()
18 ; 18 ;
19 operator +(core::String s) → dynamic 19 operator +(core::String s) → dynamic
20 return this.{=self::A::+}("${s}${s}"); 20 return super.+("${s}${s}");
21 operator [](dynamic i) → dynamic 21 operator [](dynamic i) → dynamic
22 return this.{=self::A::[]}(i); 22 return super.{self::A::[]}(i);
23 operator []=(dynamic i, dynamic val) → dynamic 23 operator []=(dynamic i, dynamic val) → dynamic
24 return let final dynamic #t1 = let final dynamic #t2 = i in let final dynami c #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = this.{=self::A::[]}(#t1). +(val) in let final dynamic #t5 = this.{=self::A::[]=}(#t1, #t4) in #t4; 24 return let final dynamic #t1 = let final dynamic #t2 = i in let final dynami c #t3 = i = #t2.+(1) in #t2 in let final dynamic #t4 = super.[](#t1).+(val) in l et final dynamic #t5 = super.[]=(#t1, #t4) in #t4;
25 } 25 }
26 class Autobianchi extends core::Object { 26 class Autobianchi extends core::Object {
27 constructor •() → void 27 constructor •() → void
28 : super core::Object::•() 28 : super core::Object::•()
29 ; 29 ;
30 method g() → dynamic 30 method g() → dynamic
31 return this.{=core::Object::noSuchMethod}(new core::_InvocationMirror::•("[] ", <dynamic>[0, 2, 2].toList(growable: false), <dynamic>[this, 0].toList(growabl e: false), true)); 31 return super.[](0);
32 } 32 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698