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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect

Issue 2937683002: Update golden files. (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 side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect
index 4cd61e0b99473996e71776d22ded5b0f7debc3d1..8ac7102774c253d636fdf9c157f5c84cf19050a3 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_property_super_upwards.dart.strong.expect
@@ -15,14 +15,14 @@ class Test1 extends self::Base {
: super self::Base::•()
;
method test() → void {
- core::int v1 = this.{=self::Base::intProp} = self::getInt();
- core::num v2 = this.{=self::Base::intProp} = self::getNum();
- core::int v4 = let final dynamic #t1 = this.{=self::Base::intProp} in #t1.{core::num::==}(null) ? this.{=self::Base::intProp} = self::getInt() : #t1;
- core::num v5 = let final dynamic #t2 = this.{=self::Base::intProp} in #t2.{core::num::==}(null) ? this.{=self::Base::intProp} = self::getNum() : #t2;
- core::int v7 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{core::num::+}(self::getInt());
- core::num v8 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{core::num::+}(self::getNum());
- core::int v10 = this.{=self::Base::intProp} = this.{=self::Base::intProp}.{core::num::+}(1);
- core::int v11 = let final dynamic #t3 = this.{=self::Base::intProp} in let final dynamic #t4 = this.{=self::Base::intProp} = #t3.{core::num::+}(1) in #t3;
+ core::int v1 = super.{self::Base::intProp} = self::getInt();
+ core::num v2 = super.{self::Base::intProp} = self::getNum();
+ core::int v4 = let final dynamic #t1 = super.{self::Base::intProp} in #t1.{core::num::==}(null) ? super.{self::Base::intProp} = self::getInt() : #t1;
+ core::num v5 = let final dynamic #t2 = super.{self::Base::intProp} in #t2.{core::num::==}(null) ? super.{self::Base::intProp} = self::getNum() : #t2;
+ core::int v7 = super.{self::Base::intProp} = super.{self::Base::intProp}.{core::num::+}(self::getInt());
+ core::num v8 = super.{self::Base::intProp} = super.{self::Base::intProp}.{core::num::+}(self::getNum());
+ core::int v10 = super.{self::Base::intProp} = super.{self::Base::intProp}.{core::num::+}(1);
+ core::int v11 = let final dynamic #t3 = super.{self::Base::intProp} in let final dynamic #t4 = super.{self::Base::intProp} = #t3.{core::num::+}(1) in #t3;
}
}
class Test2 extends self::Base {
@@ -30,17 +30,17 @@ class Test2 extends self::Base {
: super self::Base::•()
;
method test() → void {
- core::int v1 = this.{=self::Base::numProp} = self::getInt();
- core::num v2 = this.{=self::Base::numProp} = self::getNum();
- core::double v3 = this.{=self::Base::numProp} = self::getDouble();
- core::num v4 = let final dynamic #t5 = this.{=self::Base::numProp} in #t5.{core::num::==}(null) ? this.{=self::Base::numProp} = self::getInt() : #t5;
- core::num v5 = let final dynamic #t6 = this.{=self::Base::numProp} in #t6.{core::num::==}(null) ? this.{=self::Base::numProp} = self::getNum() : #t6;
- core::num v6 = let final dynamic #t7 = this.{=self::Base::numProp} in #t7.{core::num::==}(null) ? this.{=self::Base::numProp} = self::getDouble() : #t7;
- core::num v7 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{core::num::+}(self::getInt());
- core::num v8 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{core::num::+}(self::getNum());
- core::num v9 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{core::num::+}(self::getDouble());
- core::num v10 = this.{=self::Base::numProp} = this.{=self::Base::numProp}.{core::num::+}(1);
- core::num v11 = let final dynamic #t8 = this.{=self::Base::numProp} in let final dynamic #t9 = this.{=self::Base::numProp} = #t8.{core::num::+}(1) in #t8;
+ core::int v1 = super.{self::Base::numProp} = self::getInt();
+ core::num v2 = super.{self::Base::numProp} = self::getNum();
+ core::double v3 = super.{self::Base::numProp} = self::getDouble();
+ core::num v4 = let final dynamic #t5 = super.{self::Base::numProp} in #t5.{core::num::==}(null) ? super.{self::Base::numProp} = self::getInt() : #t5;
+ core::num v5 = let final dynamic #t6 = super.{self::Base::numProp} in #t6.{core::num::==}(null) ? super.{self::Base::numProp} = self::getNum() : #t6;
+ core::num v6 = let final dynamic #t7 = super.{self::Base::numProp} in #t7.{core::num::==}(null) ? super.{self::Base::numProp} = self::getDouble() : #t7;
+ core::num v7 = super.{self::Base::numProp} = super.{self::Base::numProp}.{core::num::+}(self::getInt());
+ core::num v8 = super.{self::Base::numProp} = super.{self::Base::numProp}.{core::num::+}(self::getNum());
+ core::num v9 = super.{self::Base::numProp} = super.{self::Base::numProp}.{core::num::+}(self::getDouble());
+ core::num v10 = super.{self::Base::numProp} = super.{self::Base::numProp}.{core::num::+}(1);
+ core::num v11 = let final dynamic #t8 = super.{self::Base::numProp} in let final dynamic #t9 = super.{self::Base::numProp} = #t8.{core::num::+}(1) in #t8;
}
}
class Test3 extends self::Base {
@@ -48,15 +48,15 @@ class Test3 extends self::Base {
: super self::Base::•()
;
method test3() → void {
- core::num v2 = this.{=self::Base::doubleProp} = self::getNum();
- core::double v3 = this.{=self::Base::doubleProp} = self::getDouble();
- core::num v5 = let final dynamic #t10 = this.{=self::Base::doubleProp} in #t10.{core::num::==}(null) ? this.{=self::Base::doubleProp} = self::getNum() : #t10;
- core::double v6 = let final dynamic #t11 = this.{=self::Base::doubleProp} in #t11.{core::num::==}(null) ? this.{=self::Base::doubleProp} = self::getDouble() : #t11;
- core::double v7 = this.{=self::Base::doubleProp} = this.{=self::Base::doubleProp}.{core::double::+}(self::getInt());
- core::double v8 = this.{=self::Base::doubleProp} = this.{=self::Base::doubleProp}.{core::double::+}(self::getNum());
- core::double v9 = this.{=self::Base::doubleProp} = this.{=self::Base::doubleProp}.{core::double::+}(self::getDouble());
- core::double v10 = this.{=self::Base::doubleProp} = this.{=self::Base::doubleProp}.{core::double::+}(1);
- core::double v11 = let final dynamic #t12 = this.{=self::Base::doubleProp} in let final dynamic #t13 = this.{=self::Base::doubleProp} = #t12.{core::double::+}(1) in #t12;
+ core::num v2 = super.{self::Base::doubleProp} = self::getNum();
+ core::double v3 = super.{self::Base::doubleProp} = self::getDouble();
+ core::num v5 = let final dynamic #t10 = super.{self::Base::doubleProp} in #t10.{core::num::==}(null) ? super.{self::Base::doubleProp} = self::getNum() : #t10;
+ core::double v6 = let final dynamic #t11 = super.{self::Base::doubleProp} in #t11.{core::num::==}(null) ? super.{self::Base::doubleProp} = self::getDouble() : #t11;
+ core::double v7 = super.{self::Base::doubleProp} = super.{self::Base::doubleProp}.{core::double::+}(self::getInt());
+ core::double v8 = super.{self::Base::doubleProp} = super.{self::Base::doubleProp}.{core::double::+}(self::getNum());
+ core::double v9 = super.{self::Base::doubleProp} = super.{self::Base::doubleProp}.{core::double::+}(self::getDouble());
+ core::double v10 = super.{self::Base::doubleProp} = super.{self::Base::doubleProp}.{core::double::+}(1);
+ core::double v11 = let final dynamic #t12 = super.{self::Base::doubleProp} in let final dynamic #t13 = super.{self::Base::doubleProp} = #t12.{core::double::+}(1) in #t12;
}
}
static method getInt() → core::int

Powered by Google App Engine
This is Rietveld 408576698