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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_static.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_static.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_static.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_static.dart.strong.expect
index 25c6b2e8c85a57ebfd89a223d4f19ca77bb594c4..42c068409acdf6584ffc5a3cf5bcfd34ecc71804 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_static.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_static.dart.strong.expect
@@ -31,14 +31,14 @@ static method f<T extends core::Object>() → self::f::T
return null;
static method test_topLevelVariable() → void {
self::topLevelVariable = self::f<self::B>();
- self::topLevelVariable.{core::Object::==}(null) ? self::topLevelVariable = self::f<self::B>() : null;
+ self::topLevelVariable.{core::Object::==}(null) ?{dynamic} self::topLevelVariable = self::f<self::B>() : null;
self::topLevelVariable = self::topLevelVariable.{self::B::+}(self::f<dynamic>());
self::topLevelVariable = self::topLevelVariable.{self::B::*}(self::f<dynamic>());
self::topLevelVariable = self::topLevelVariable.{self::B::&}(self::f<dynamic>());
self::topLevelVariable = self::topLevelVariable.{self::B::-}(1);
self::topLevelVariable = self::topLevelVariable.{self::B::-}(1);
self::B v1 = self::topLevelVariable = self::f<self::B>();
- self::B v2 = let final dynamic #t1 = self::topLevelVariable in #t1.{core::Object::==}(null) ? self::topLevelVariable = self::f<self::B>() : #t1;
+ self::B v2 = let final dynamic #t1 = self::topLevelVariable in #t1.{core::Object::==}(null) ?{dynamic} self::topLevelVariable = self::f<self::B>() : #t1;
self::A v3 = self::topLevelVariable = self::topLevelVariable.{self::B::+}(self::f<dynamic>());
self::B v4 = self::topLevelVariable = self::topLevelVariable.{self::B::*}(self::f<dynamic>());
self::C v5 = self::topLevelVariable = self::topLevelVariable.{self::B::&}(self::f<dynamic>());
@@ -47,14 +47,14 @@ static method test_topLevelVariable() → void {
}
static method test_staticVariable() → void {
self::B::staticVariable = self::f<self::B>();
- self::B::staticVariable.{core::Object::==}(null) ? self::B::staticVariable = self::f<self::B>() : null;
+ self::B::staticVariable.{core::Object::==}(null) ?{dynamic} self::B::staticVariable = self::f<self::B>() : null;
self::B::staticVariable = self::B::staticVariable.{self::B::+}(self::f<dynamic>());
self::B::staticVariable = self::B::staticVariable.{self::B::*}(self::f<dynamic>());
self::B::staticVariable = self::B::staticVariable.{self::B::&}(self::f<dynamic>());
self::B::staticVariable = self::B::staticVariable.{self::B::-}(1);
self::B::staticVariable = self::B::staticVariable.{self::B::-}(1);
self::B v1 = self::B::staticVariable = self::f<self::B>();
- self::B v2 = let final dynamic #t4 = self::B::staticVariable in #t4.{core::Object::==}(null) ? self::B::staticVariable = self::f<self::B>() : #t4;
+ self::B v2 = let final dynamic #t4 = self::B::staticVariable in #t4.{core::Object::==}(null) ?{dynamic} self::B::staticVariable = self::f<self::B>() : #t4;
self::A v3 = self::B::staticVariable = self::B::staticVariable.{self::B::+}(self::f<dynamic>());
self::B v4 = self::B::staticVariable = self::B::staticVariable.{self::B::*}(self::f<dynamic>());
self::C v5 = self::B::staticVariable = self::B::staticVariable.{self::B::&}(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698