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

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_index_full.dart.strong.expect

Issue 2981783002: Set 'isSyntheticDefault' for default constructors. (Closed)
Patch Set: Created 3 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
1 library test; 1 library test;
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 Index extends core::Object { 5 class Index extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 } 9 }
10 class A extends core::Object { 10 class A extends core::Object {
11 constructor •() → void 11 default constructor •() → void
12 : super core::Object::•() 12 : super core::Object::•()
13 ; 13 ;
14 } 14 }
15 class B extends self::A { 15 class B extends self::A {
16 constructor •() → void 16 default constructor •() → void
17 : super self::A::•() 17 : super self::A::•()
18 ; 18 ;
19 operator +(self::C v) → self::A 19 operator +(self::C v) → self::A
20 return null; 20 return null;
21 operator -(core::int i) → self::B 21 operator -(core::int i) → self::B
22 return null; 22 return null;
23 operator *(self::B v) → self::B 23 operator *(self::B v) → self::B
24 return null; 24 return null;
25 operator &(self::A v) → self::C 25 operator &(self::A v) → self::C
26 return null; 26 return null;
27 } 27 }
28 class C extends self::B { 28 class C extends self::B {
29 constructor •() → void 29 default constructor •() → void
30 : super self::B::•() 30 : super self::B::•()
31 ; 31 ;
32 } 32 }
33 class Test extends core::Object { 33 class Test extends core::Object {
34 constructor •() → void 34 default constructor •() → void
35 : super core::Object::•() 35 : super core::Object::•()
36 ; 36 ;
37 operator [](self::Index i) → self::B 37 operator [](self::Index i) → self::B
38 return null; 38 return null;
39 operator []=(self::Index i, self::B v) → void {} 39 operator []=(self::Index i, self::B v) → void {}
40 method test() → void { 40 method test() → void {
41 self::Test t = self::f<self::Test>(); 41 self::Test t = self::f<self::Test>();
42 t.{self::Test::[]=}(self::f<dynamic>(), self::f<self::B>()); 42 t.{self::Test::[]=}(self::f<dynamic>(), self::f<self::B>());
43 let final dynamic #t1 = t in let final dynamic #t2 = self::f<dynamic>() in # t1.{self::Test::[]}(#t2).{core::Object::==}(null) ? let final dynamic #t3 = self ::f<self::B>() in let final dynamic #t4 = #t1.{self::Test::[]=}(#t2, #t3) in #t3 : null; 43 let final dynamic #t1 = t in let final dynamic #t2 = self::f<dynamic>() in # t1.{self::Test::[]}(#t2).{core::Object::==}(null) ? let final dynamic #t3 = self ::f<self::B>() in let final dynamic #t4 = #t1.{self::Test::[]=}(#t2, #t3) in #t3 : null;
44 let final dynamic #t5 = t in let final dynamic #t6 = self::f<dynamic>() in # t5.{self::Test::[]=}(#t6, #t5.{self::Test::[]}(#t6).{self::B::+}(self::f<dynamic >())); 44 let final dynamic #t5 = t in let final dynamic #t6 = self::f<dynamic>() in # t5.{self::Test::[]=}(#t6, #t5.{self::Test::[]}(#t6).{self::B::+}(self::f<dynamic >()));
45 let final dynamic #t7 = t in let final dynamic #t8 = self::f<dynamic>() in # t7.{self::Test::[]=}(#t8, #t7.{self::Test::[]}(#t8).{self::B::*}(self::f<dynamic >())); 45 let final dynamic #t7 = t in let final dynamic #t8 = self::f<dynamic>() in # t7.{self::Test::[]=}(#t8, #t7.{self::Test::[]}(#t8).{self::B::*}(self::f<dynamic >()));
46 let final dynamic #t9 = t in let final dynamic #t10 = self::f<dynamic>() in #t9.{self::Test::[]=}(#t10, #t9.{self::Test::[]}(#t10).{self::B::&}(self::f<dyna mic>())); 46 let final dynamic #t9 = t in let final dynamic #t10 = self::f<dynamic>() in #t9.{self::Test::[]=}(#t10, #t9.{self::Test::[]}(#t10).{self::B::&}(self::f<dyna mic>()));
47 let final dynamic #t11 = t in let final dynamic #t12 = self::f<dynamic>() in let final dynamic #t13 = #t11.{self::Test::[]}(#t12).{self::B::-}(1) in let fin al dynamic #t14 = #t11.{self::Test::[]=}(#t12, #t13) in #t13; 47 let final dynamic #t11 = t in let final dynamic #t12 = self::f<dynamic>() in let final dynamic #t13 = #t11.{self::Test::[]}(#t12).{self::B::-}(1) in let fin al dynamic #t14 = #t11.{self::Test::[]=}(#t12, #t13) in #t13;
48 let final dynamic #t15 = t in let final dynamic #t16 = self::f<dynamic>() in #t15.{self::Test::[]=}(#t16, #t15.{self::Test::[]}(#t16).{self::B::-}(1)); 48 let final dynamic #t15 = t in let final dynamic #t16 = self::f<dynamic>() in #t15.{self::Test::[]=}(#t16, #t15.{self::Test::[]}(#t16).{self::B::-}(1));
49 self::B v1 = let final dynamic #t17 = t in let final dynamic #t18 = self::f< dynamic>() in let final dynamic #t19 = self::f<self::B>() in let final dynamic # t20 = #t17.{self::Test::[]=}(#t18, #t19) in #t19; 49 self::B v1 = let final dynamic #t17 = t in let final dynamic #t18 = self::f< dynamic>() in let final dynamic #t19 = self::f<self::B>() in let final dynamic # t20 = #t17.{self::Test::[]=}(#t18, #t19) in #t19;
50 self::B v2 = let final dynamic #t21 = t in let final dynamic #t22 = self::f< dynamic>() in let final dynamic #t23 = #t21.{self::Test::[]}(#t22) in #t23.{core ::Object::==}(null) ? let final dynamic #t24 = self::f<self::B>() in let final d ynamic #t25 = #t21.{self::Test::[]=}(#t22, #t24) in #t24 : #t23; 50 self::B v2 = let final dynamic #t21 = t in let final dynamic #t22 = self::f< dynamic>() in let final dynamic #t23 = #t21.{self::Test::[]}(#t22) in #t23.{core ::Object::==}(null) ? let final dynamic #t24 = self::f<self::B>() in let final d ynamic #t25 = #t21.{self::Test::[]=}(#t22, #t24) in #t24 : #t23;
51 self::A v3 = let final dynamic #t26 = t in let final dynamic #t27 = self::f< dynamic>() in let final dynamic #t28 = #t26.{self::Test::[]}(#t27).{self::B::+}( self::f<dynamic>()) in let final dynamic #t29 = #t26.{self::Test::[]=}(#t27, #t2 8) in #t28; 51 self::A v3 = let final dynamic #t26 = t in let final dynamic #t27 = self::f< dynamic>() in let final dynamic #t28 = #t26.{self::Test::[]}(#t27).{self::B::+}( self::f<dynamic>()) in let final dynamic #t29 = #t26.{self::Test::[]=}(#t27, #t2 8) in #t28;
52 self::B v4 = let final dynamic #t30 = t in let final dynamic #t31 = self::f< dynamic>() in let final dynamic #t32 = #t30.{self::Test::[]}(#t31).{self::B::*}( self::f<dynamic>()) in let final dynamic #t33 = #t30.{self::Test::[]=}(#t31, #t3 2) in #t32; 52 self::B v4 = let final dynamic #t30 = t in let final dynamic #t31 = self::f< dynamic>() in let final dynamic #t32 = #t30.{self::Test::[]}(#t31).{self::B::*}( self::f<dynamic>()) in let final dynamic #t33 = #t30.{self::Test::[]=}(#t31, #t3 2) in #t32;
53 self::C v5 = let final dynamic #t34 = t in let final dynamic #t35 = self::f< dynamic>() in let final dynamic #t36 = #t34.{self::Test::[]}(#t35).{self::B::&}( self::f<dynamic>()) in let final dynamic #t37 = #t34.{self::Test::[]=}(#t35, #t3 6) in #t36; 53 self::C v5 = let final dynamic #t34 = t in let final dynamic #t35 = self::f< dynamic>() in let final dynamic #t36 = #t34.{self::Test::[]}(#t35).{self::B::&}( self::f<dynamic>()) in let final dynamic #t37 = #t34.{self::Test::[]=}(#t35, #t3 6) in #t36;
54 self::B v6 = let final dynamic #t38 = t in let final dynamic #t39 = self::f< dynamic>() in let final dynamic #t40 = #t38.{self::Test::[]}(#t39).{self::B::-}( 1) in let final dynamic #t41 = #t38.{self::Test::[]=}(#t39, #t40) in #t40; 54 self::B v6 = let final dynamic #t38 = t in let final dynamic #t39 = self::f< dynamic>() in let final dynamic #t40 = #t38.{self::Test::[]}(#t39).{self::B::-}( 1) in let final dynamic #t41 = #t38.{self::Test::[]=}(#t39, #t40) in #t40;
55 self::B v7 = let final dynamic #t42 = t in let final dynamic #t43 = self::f< dynamic>() in let final dynamic #t44 = #t42.{self::Test::[]}(#t43) in let final dynamic #t45 = #t42.{self::Test::[]=}(#t43, #t44.{self::B::-}(1)) in #t44; 55 self::B v7 = let final dynamic #t42 = t in let final dynamic #t43 = self::f< dynamic>() in let final dynamic #t44 = #t42.{self::Test::[]}(#t43) in let final dynamic #t45 = #t42.{self::Test::[]=}(#t43, #t44.{self::B::-}(1)) in #t44;
56 } 56 }
57 } 57 }
58 static method f<T extends core::Object>() → self::f::T 58 static method f<T extends core::Object>() → self::f::T
59 return null; 59 return null;
60 static method main() → dynamic {} 60 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698