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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_local.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_local.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_local.dart.strong.expect b/pkg/front_end/testcases/inference/infer_assign_to_local.dart.strong.expect
index afcb65946df30fbbdbb2e77b34020c64750fe942..7ef90fd24bc55a31fb4b26d63528f85b200c4132 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_local.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_local.dart.strong.expect
@@ -30,14 +30,14 @@ static method f<T extends core::Object>() → self::f::T
static method test() → void {
self::B local;
local = self::f<self::B>();
- local.{core::Object::==}(null) ? local = self::f<self::B>() : null;
+ local.{core::Object::==}(null) ?{dynamic} local = self::f<self::B>() : null;
local = local.{self::B::+}(self::f<dynamic>());
local = local.{self::B::*}(self::f<dynamic>());
local = local.{self::B::&}(self::f<dynamic>());
local = local.{self::B::-}(1);
local = local.{self::B::-}(1);
self::B v1 = local = self::f<self::B>();
- self::B v2 = let final dynamic #t1 = local in #t1.{core::Object::==}(null) ? local = self::f<self::B>() : #t1;
+ self::B v2 = let final dynamic #t1 = local in #t1.{core::Object::==}(null) ?{dynamic} local = self::f<self::B>() : #t1;
self::A v3 = local = local.{self::B::+}(self::f<dynamic>());
self::B v4 = local = local.{self::B::*}(self::f<dynamic>());
self::C v5 = local = local.{self::B::&}(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698