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

Side by Side Diff: pkg/front_end/testcases/inference/infer_assign_to_index_super.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 Base extends core::Object { 33 class Base 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 } 40 }
41 class Test extends self::Base { 41 class Test extends self::Base {
42 constructor •() → void 42 default constructor •() → void
43 : super self::Base::•() 43 : super self::Base::•()
44 ; 44 ;
45 method test() → void { 45 method test() → void {
46 super.{self::Base::[]=}(self::f<dynamic>(), self::f<self::B>()); 46 super.{self::Base::[]=}(self::f<dynamic>(), self::f<self::B>());
47 let final dynamic #t1 = self::f<dynamic>() in super.{self::Base::[]}(#t1).{c ore::Object::==}(null) ? let final dynamic #t2 = self::f<self::B>() in let final dynamic #t3 = super.{self::Base::[]=}(#t1, #t2) in #t2 : null; 47 let final dynamic #t1 = self::f<dynamic>() in super.{self::Base::[]}(#t1).{c ore::Object::==}(null) ? let final dynamic #t2 = self::f<self::B>() in let final dynamic #t3 = super.{self::Base::[]=}(#t1, #t2) in #t2 : null;
48 let final dynamic #t4 = self::f<dynamic>() in super.{self::Base::[]=}(#t4, s uper.{self::Base::[]}(#t4).{self::B::+}(self::f<dynamic>())); 48 let final dynamic #t4 = self::f<dynamic>() in super.{self::Base::[]=}(#t4, s uper.{self::Base::[]}(#t4).{self::B::+}(self::f<dynamic>()));
49 let final dynamic #t5 = self::f<dynamic>() in super.{self::Base::[]=}(#t5, s uper.{self::Base::[]}(#t5).{self::B::*}(self::f<dynamic>())); 49 let final dynamic #t5 = self::f<dynamic>() in super.{self::Base::[]=}(#t5, s uper.{self::Base::[]}(#t5).{self::B::*}(self::f<dynamic>()));
50 let final dynamic #t6 = self::f<dynamic>() in super.{self::Base::[]=}(#t6, s uper.{self::Base::[]}(#t6).{self::B::&}(self::f<dynamic>())); 50 let final dynamic #t6 = self::f<dynamic>() in super.{self::Base::[]=}(#t6, s uper.{self::Base::[]}(#t6).{self::B::&}(self::f<dynamic>()));
51 let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = super. {self::Base::[]}(#t7).{self::B::-}(1) in let final dynamic #t9 = super.{self::Ba se::[]=}(#t7, #t8) in #t8; 51 let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = super. {self::Base::[]}(#t7).{self::B::-}(1) in let final dynamic #t9 = super.{self::Ba se::[]=}(#t7, #t8) in #t8;
52 let final dynamic #t10 = self::f<dynamic>() in super.{self::Base::[]=}(#t10, super.{self::Base::[]}(#t10).{self::B::-}(1)); 52 let final dynamic #t10 = self::f<dynamic>() in super.{self::Base::[]=}(#t10, super.{self::Base::[]}(#t10).{self::B::-}(1));
53 self::B v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynami c #t12 = self::f<self::B>() in let final dynamic #t13 = super.{self::Base::[]=}( #t11, #t12) in #t12; 53 self::B v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynami c #t12 = self::f<self::B>() in let final dynamic #t13 = super.{self::Base::[]=}( #t11, #t12) in #t12;
54 self::B v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynami c #t15 = super.{self::Base::[]}(#t14) in #t15.{core::Object::==}(null) ? let fin al dynamic #t16 = self::f<self::B>() in let final dynamic #t17 = super.{self::Ba se::[]=}(#t14, #t16) in #t16 : #t15; 54 self::B v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynami c #t15 = super.{self::Base::[]}(#t14) in #t15.{core::Object::==}(null) ? let fin al dynamic #t16 = self::f<self::B>() in let final dynamic #t17 = super.{self::Ba se::[]=}(#t14, #t16) in #t16 : #t15;
55 self::A v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynami c #t19 = super.{self::Base::[]}(#t18).{self::B::+}(self::f<dynamic>()) in let fi nal dynamic #t20 = super.{self::Base::[]=}(#t18, #t19) in #t19; 55 self::A v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynami c #t19 = super.{self::Base::[]}(#t18).{self::B::+}(self::f<dynamic>()) in let fi nal dynamic #t20 = super.{self::Base::[]=}(#t18, #t19) in #t19;
56 self::B v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynami c #t22 = super.{self::Base::[]}(#t21).{self::B::*}(self::f<dynamic>()) in let fi nal dynamic #t23 = super.{self::Base::[]=}(#t21, #t22) in #t22; 56 self::B v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynami c #t22 = super.{self::Base::[]}(#t21).{self::B::*}(self::f<dynamic>()) in let fi nal dynamic #t23 = super.{self::Base::[]=}(#t21, #t22) in #t22;
57 self::C v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynami c #t25 = super.{self::Base::[]}(#t24).{self::B::&}(self::f<dynamic>()) in let fi nal dynamic #t26 = super.{self::Base::[]=}(#t24, #t25) in #t25; 57 self::C v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynami c #t25 = super.{self::Base::[]}(#t24).{self::B::&}(self::f<dynamic>()) in let fi nal dynamic #t26 = super.{self::Base::[]=}(#t24, #t25) in #t25;
58 self::B v6 = let final dynamic #t27 = self::f<dynamic>() in let final dynami c #t28 = super.{self::Base::[]}(#t27).{self::B::-}(1) in let final dynamic #t29 = super.{self::Base::[]=}(#t27, #t28) in #t28; 58 self::B v6 = let final dynamic #t27 = self::f<dynamic>() in let final dynami c #t28 = super.{self::Base::[]}(#t27).{self::B::-}(1) in let final dynamic #t29 = super.{self::Base::[]=}(#t27, #t28) in #t28;
59 self::B v7 = let final dynamic #t30 = self::f<dynamic>() in let final dynami c #t31 = super.{self::Base::[]}(#t30) in let final dynamic #t32 = super.{self::B ase::[]=}(#t30, #t31.{self::B::-}(1)) in #t31; 59 self::B v7 = let final dynamic #t30 = self::f<dynamic>() in let final dynami c #t31 = super.{self::Base::[]}(#t30) in let final dynamic #t32 = super.{self::B ase::[]=}(#t30, #t31.{self::B::-}(1)) in #t31;
60 } 60 }
61 } 61 }
62 static method f<T extends core::Object>() → self::f::T 62 static method f<T extends core::Object>() → self::f::T
63 return null; 63 return null;
64 static method main() → dynamic {} 64 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698