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

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

Issue 2953503002: Only set types of conditional expressions in strong mode. (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_index_this.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_this.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_this.dart.strong.expect
index 76b3b848fafb35f767d90025a07d705bf1b1c165..b85ee838bcf91dfb73e194bda39e094d78ac78ae 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index_this.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_this.dart.strong.expect
@@ -39,14 +39,14 @@ class Test extends core::Object {
operator []=(self::Index i, self::B v) → void {}
method test() → void {
this.{self::Test::[]=}(self::f<dynamic>(), self::f<self::B>());
- let final dynamic #t1 = self::f<dynamic>() in this.{self::Test::[]}(#t1).{core::Object::==}(null) ?{dynamic} let final dynamic #t2 = self::f<self::B>() in let final dynamic #t3 = this.{self::Test::[]=}(#t1, #t2) in #t2 : null;
+ let final dynamic #t1 = self::f<dynamic>() in this.{self::Test::[]}(#t1).{core::Object::==}(null) ? let final dynamic #t2 = self::f<self::B>() in let final dynamic #t3 = this.{self::Test::[]=}(#t1, #t2) in #t2 : null;
let final dynamic #t4 = self::f<dynamic>() in this.{self::Test::[]=}(#t4, this.{self::Test::[]}(#t4).{self::B::+}(self::f<dynamic>()));
let final dynamic #t5 = self::f<dynamic>() in this.{self::Test::[]=}(#t5, this.{self::Test::[]}(#t5).{self::B::*}(self::f<dynamic>()));
let final dynamic #t6 = self::f<dynamic>() in this.{self::Test::[]=}(#t6, this.{self::Test::[]}(#t6).{self::B::&}(self::f<dynamic>()));
let final dynamic #t7 = self::f<dynamic>() in let final dynamic #t8 = this.{self::Test::[]}(#t7).{self::B::-}(1) in let final dynamic #t9 = this.{self::Test::[]=}(#t7, #t8) in #t8;
let final dynamic #t10 = self::f<dynamic>() in this.{self::Test::[]=}(#t10, this.{self::Test::[]}(#t10).{self::B::-}(1));
self::B v1 = let final dynamic #t11 = self::f<dynamic>() in let final dynamic #t12 = self::f<self::B>() in let final dynamic #t13 = this.{self::Test::[]=}(#t11, #t12) in #t12;
- self::B v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynamic #t15 = this.{self::Test::[]}(#t14) in #t15.{core::Object::==}(null) ?{dynamic} let final dynamic #t16 = self::f<self::B>() in let final dynamic #t17 = this.{self::Test::[]=}(#t14, #t16) in #t16 : #t15;
+ self::B v2 = let final dynamic #t14 = self::f<dynamic>() in let final dynamic #t15 = this.{self::Test::[]}(#t14) in #t15.{core::Object::==}(null) ? let final dynamic #t16 = self::f<self::B>() in let final dynamic #t17 = this.{self::Test::[]=}(#t14, #t16) in #t16 : #t15;
self::A v3 = let final dynamic #t18 = self::f<dynamic>() in let final dynamic #t19 = this.{self::Test::[]}(#t18).{self::B::+}(self::f<dynamic>()) in let final dynamic #t20 = this.{self::Test::[]=}(#t18, #t19) in #t19;
self::B v4 = let final dynamic #t21 = self::f<dynamic>() in let final dynamic #t22 = this.{self::Test::[]}(#t21).{self::B::*}(self::f<dynamic>()) in let final dynamic #t23 = this.{self::Test::[]=}(#t21, #t22) in #t22;
self::C v5 = let final dynamic #t24 = self::f<dynamic>() in let final dynamic #t25 = this.{self::Test::[]}(#t24).{self::B::&}(self::f<dynamic>()) in let final dynamic #t26 = this.{self::Test::[]=}(#t24, #t25) in #t25;

Powered by Google App Engine
This is Rietveld 408576698