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

Side by Side Diff: pkg/front_end/testcases/inference_new/infer_assign_to_property_custom.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 A extends core::Object { 5 class A extends core::Object {
6 constructor •() → void 6 default constructor •() → void
7 : super core::Object::•() 7 : super core::Object::•()
8 ; 8 ;
9 operator +(dynamic other) → core::int 9 operator +(dynamic other) → core::int
10 return 1; 10 return 1;
11 operator -(dynamic other) → core::double 11 operator -(dynamic other) → core::double
12 return 2.0; 12 return 2.0;
13 } 13 }
14 class B extends core::Object { 14 class B extends core::Object {
15 field self::A a = null; 15 field self::A a = null;
16 constructor •() → void 16 default constructor •() → void
17 : super core::Object::•() 17 : super core::Object::•()
18 ; 18 ;
19 } 19 }
20 static field core::int v_prefix_pp = let final dynamic #t1 = new self::B::•() in #t1.{self::B::a} = #t1.{self::B::a}.{self::A::+}(1); 20 static field core::int v_prefix_pp = let final dynamic #t1 = new self::B::•() in #t1.{self::B::a} = #t1.{self::B::a}.{self::A::+}(1);
21 static field core::double v_prefix_mm = let final dynamic #t2 = new self::B::•() in #t2.{self::B::a} = #t2.{self::B::a}.{self::A::-}(1); 21 static field core::double v_prefix_mm = let final dynamic #t2 = new self::B::•() in #t2.{self::B::a} = #t2.{self::B::a}.{self::A::-}(1);
22 static field self::A v_postfix_pp = let final dynamic #t3 = new self::B::•() in let final dynamic #t4 = #t3.{self::B::a} in let final dynamic #t5 = #t3.{self::B ::a} = #t4.{self::A::+}(1) in #t4; 22 static field self::A v_postfix_pp = let final dynamic #t3 = new self::B::•() in let final dynamic #t4 = #t3.{self::B::a} in let final dynamic #t5 = #t3.{self::B ::a} = #t4.{self::A::+}(1) in #t4;
23 static field self::A v_postfix_mm = let final dynamic #t6 = new self::B::•() in let final dynamic #t7 = #t6.{self::B::a} in let final dynamic #t8 = #t6.{self::B ::a} = #t7.{self::A::-}(1) in #t7; 23 static field self::A v_postfix_mm = let final dynamic #t6 = new self::B::•() in let final dynamic #t7 = #t6.{self::B::a} in let final dynamic #t8 = #t6.{self::B ::a} = #t7.{self::A::-}(1) in #t7;
24 static method main() → dynamic {} 24 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698