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

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

Issue 2949753002: Print static types of conditional expressions. (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_set_vs_get.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.strong.expect
index 0ce6b7723e29e566428b71af009b6d3805d2e42c..c4278b0dc2b51c349f2ff6beb642a6215bc42713 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_index_set_vs_get.dart.strong.expect
@@ -55,12 +55,12 @@ class Test extends core::Object {
method test() → void {
self::Test t = self::f<self::Test>();
t.{self::Test::[]=}(self::f<dynamic>(), self::f<self::A>());
- 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::A>() in let final dynamic #t4 = #t1.{self::Test::[]=}(#t2, #t3) in #t3 : null;
+ let final dynamic #t1 = t in let final dynamic #t2 = self::f<dynamic>() in #t1.{self::Test::[]}(#t2).{core::Object::==}(null) ?{dynamic} let final dynamic #t3 = self::f<self::A>() in let final dynamic #t4 = #t1.{self::Test::[]=}(#t2, #t3) in #t3 : null;
let final dynamic #t5 = t in let final dynamic #t6 = self::f<dynamic>() in #t5.{self::Test::[]=}(#t6, #t5.{self::Test::[]}(#t6).{self::A::+}(self::f<dynamic>()));
let final dynamic #t7 = t in let final dynamic #t8 = self::f<dynamic>() in let final dynamic #t9 = #t7.{self::Test::[]}(#t8).{self::A::-}(1) in let final dynamic #t10 = #t7.{self::Test::[]=}(#t8, #t9) in #t9;
let final dynamic #t11 = t in let final dynamic #t12 = self::f<dynamic>() in #t11.{self::Test::[]=}(#t12, #t11.{self::Test::[]}(#t12).{self::A::-}(1));
self::A v1 = let final dynamic #t13 = t in let final dynamic #t14 = self::f<dynamic>() in let final dynamic #t15 = self::f<self::A>() in let final dynamic #t16 = #t13.{self::Test::[]=}(#t14, #t15) in #t15;
- self::A v2 = let final dynamic #t17 = t in let final dynamic #t18 = self::f<dynamic>() in let final dynamic #t19 = #t17.{self::Test::[]}(#t18) in #t19.{core::Object::==}(null) ? let final dynamic #t20 = self::f<self::A>() in let final dynamic #t21 = #t17.{self::Test::[]=}(#t18, #t20) in #t20 : #t19;
+ self::A v2 = let final dynamic #t17 = t in let final dynamic #t18 = self::f<dynamic>() in let final dynamic #t19 = #t17.{self::Test::[]}(#t18) in #t19.{core::Object::==}(null) ?{dynamic} let final dynamic #t20 = self::f<self::A>() in let final dynamic #t21 = #t17.{self::Test::[]=}(#t18, #t20) in #t20 : #t19;
self::C v3 = let final dynamic #t22 = t in let final dynamic #t23 = self::f<dynamic>() in let final dynamic #t24 = #t22.{self::Test::[]}(#t23).{self::A::+}(self::f<dynamic>()) in let final dynamic #t25 = #t22.{self::Test::[]=}(#t23, #t24) in #t24;
self::C v4 = let final dynamic #t26 = t in let final dynamic #t27 = self::f<dynamic>() in let final dynamic #t28 = #t26.{self::Test::[]}(#t27).{self::A::-}(1) in let final dynamic #t29 = #t26.{self::Test::[]=}(#t27, #t28) in #t28;
self::A v5 = let final dynamic #t30 = t in let final dynamic #t31 = self::f<dynamic>() in let final dynamic #t32 = #t30.{self::Test::[]}(#t31) in let final dynamic #t33 = #t30.{self::Test::[]=}(#t31, #t32.{self::A::-}(1)) in #t32;

Powered by Google App Engine
This is Rietveld 408576698