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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_property_super.dart.direct.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_super.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_property_super.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_property_super.dart.direct.expect
index 0fd8e3f2736bb9312bc07531c4323c89f1106e34..7ae149ec5fc7b135d7d4a3cb86179da59fb8afa1 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_property_super.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_property_super.dart.direct.expect
@@ -37,14 +37,14 @@ class Test extends self::Base {
;
method test() → void {
super.member = self::f<dynamic>();
- super.member.==(null) ? super.member = self::f<dynamic>() : null;
+ super.member.==(null) ?{dynamic} super.member = self::f<dynamic>() : null;
super.member = super.member.+(self::f<dynamic>());
super.member = super.member.*(self::f<dynamic>());
super.member = super.member.&(self::f<dynamic>());
super.member = super.member.-(1);
super.member = super.member.-(1);
dynamic v1 = super.member = self::f<dynamic>();
- dynamic v2 = let final dynamic #t1 = super.member in #t1.==(null) ? super.member = self::f<dynamic>() : #t1;
+ dynamic v2 = let final dynamic #t1 = super.member in #t1.==(null) ?{dynamic} super.member = self::f<dynamic>() : #t1;
dynamic v3 = super.member = super.member.+(self::f<dynamic>());
dynamic v4 = super.member = super.member.*(self::f<dynamic>());
dynamic v5 = super.member = super.member.&(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698