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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_property_null_aware.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_property_null_aware.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_property_null_aware.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_property_null_aware.dart.strong.expect
index 53dea28c598701893a163f3fac889d636fc7dcec..038a66256660e552d6af18c9277d91ad4f93cb32 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_property_null_aware.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_property_null_aware.dart.strong.expect
@@ -31,20 +31,20 @@ class Test extends core::Object {
: super core::Object::•()
;
static method test(self::Test t) → void {
- let final dynamic #t1 = t in #t1.==(null) ? null : #t1.{self::Test::member} = self::f<self::B>();
- let final dynamic #t2 = t in #t2.==(null) ? null : #t2.{self::Test::member}.{core::Object::==}(null) ? #t2.{self::Test::member} = self::f<self::B>() : null;
- let final dynamic #t3 = t in #t3.==(null) ? null : #t3.{self::Test::member} = #t3.{self::Test::member}.{self::B::+}(self::f<dynamic>());
- let final dynamic #t4 = t in #t4.==(null) ? null : #t4.{self::Test::member} = #t4.{self::Test::member}.{self::B::*}(self::f<dynamic>());
- let final dynamic #t5 = t in #t5.==(null) ? null : #t5.{self::Test::member} = #t5.{self::Test::member}.{self::B::&}(self::f<dynamic>());
- let final dynamic #t6 = t in #t6.==(null) ? null : #t6.{self::Test::member} = #t6.{self::Test::member}.{self::B::-}(1);
- let final dynamic #t7 = t in #t7.==(null) ? null : #t7.{self::Test::member} = #t7.{self::Test::member}.{self::B::-}(1);
- self::B v1 = let final dynamic #t8 = t in #t8.==(null) ? null : #t8.{self::Test::member} = self::f<self::B>();
- self::B v2 = let final dynamic #t9 = t in #t9.==(null) ? null : let final dynamic #t10 = #t9.{self::Test::member} in #t10.{core::Object::==}(null) ? #t9.{self::Test::member} = self::f<self::B>() : #t10;
- self::A v3 = let final dynamic #t11 = t in #t11.==(null) ? null : #t11.{self::Test::member} = #t11.{self::Test::member}.{self::B::+}(self::f<dynamic>());
- self::B v4 = let final dynamic #t12 = t in #t12.==(null) ? null : #t12.{self::Test::member} = #t12.{self::Test::member}.{self::B::*}(self::f<dynamic>());
- self::C v5 = let final dynamic #t13 = t in #t13.==(null) ? null : #t13.{self::Test::member} = #t13.{self::Test::member}.{self::B::&}(self::f<dynamic>());
- self::B v6 = let final dynamic #t14 = t in #t14.==(null) ? null : #t14.{self::Test::member} = #t14.{self::Test::member}.{self::B::-}(1);
- self::B v7 = let final dynamic #t15 = t in #t15.==(null) ? null : let final dynamic #t16 = #t15.{self::Test::member} in let final dynamic #t17 = #t15.{self::Test::member} = #t16.{self::B::-}(1) in #t16;
+ let final dynamic #t1 = t in #t1.==(null) ?{dynamic} null : #t1.{self::Test::member} = self::f<self::B>();
+ let final dynamic #t2 = t in #t2.==(null) ?{dynamic} null : #t2.{self::Test::member}.{core::Object::==}(null) ?{dynamic} #t2.{self::Test::member} = self::f<self::B>() : null;
+ let final dynamic #t3 = t in #t3.==(null) ?{dynamic} null : #t3.{self::Test::member} = #t3.{self::Test::member}.{self::B::+}(self::f<dynamic>());
+ let final dynamic #t4 = t in #t4.==(null) ?{dynamic} null : #t4.{self::Test::member} = #t4.{self::Test::member}.{self::B::*}(self::f<dynamic>());
+ let final dynamic #t5 = t in #t5.==(null) ?{dynamic} null : #t5.{self::Test::member} = #t5.{self::Test::member}.{self::B::&}(self::f<dynamic>());
+ let final dynamic #t6 = t in #t6.==(null) ?{dynamic} null : #t6.{self::Test::member} = #t6.{self::Test::member}.{self::B::-}(1);
+ let final dynamic #t7 = t in #t7.==(null) ?{dynamic} null : #t7.{self::Test::member} = #t7.{self::Test::member}.{self::B::-}(1);
+ self::B v1 = let final dynamic #t8 = t in #t8.==(null) ?{dynamic} null : #t8.{self::Test::member} = self::f<self::B>();
+ self::B v2 = let final dynamic #t9 = t in #t9.==(null) ?{dynamic} null : let final dynamic #t10 = #t9.{self::Test::member} in #t10.{core::Object::==}(null) ?{dynamic} #t9.{self::Test::member} = self::f<self::B>() : #t10;
+ self::A v3 = let final dynamic #t11 = t in #t11.==(null) ?{dynamic} null : #t11.{self::Test::member} = #t11.{self::Test::member}.{self::B::+}(self::f<dynamic>());
+ self::B v4 = let final dynamic #t12 = t in #t12.==(null) ?{dynamic} null : #t12.{self::Test::member} = #t12.{self::Test::member}.{self::B::*}(self::f<dynamic>());
+ self::C v5 = let final dynamic #t13 = t in #t13.==(null) ?{dynamic} null : #t13.{self::Test::member} = #t13.{self::Test::member}.{self::B::&}(self::f<dynamic>());
+ self::B v6 = let final dynamic #t14 = t in #t14.==(null) ?{dynamic} null : #t14.{self::Test::member} = #t14.{self::Test::member}.{self::B::-}(1);
+ self::B v7 = let final dynamic #t15 = t in #t15.==(null) ?{dynamic} null : let final dynamic #t16 = #t15.{self::Test::member} in let final dynamic #t17 = #t15.{self::Test::member} = #t16.{self::B::-}(1) in #t16;
}
}
static method f<T extends core::Object>() → self::f::T

Powered by Google App Engine
This is Rietveld 408576698