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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_property_full.dart.direct.expect

Issue 2953503002: Only set types of conditional expressions in strong mode. (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_full.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_property_full.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_property_full.dart.direct.expect
index 79e8b74ccd0c23849638de60996deb25f50da528..0eb505ca4766605377f3e0b11b1211b4b87ef3e2 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_property_full.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_property_full.dart.direct.expect
@@ -32,14 +32,14 @@ class Test extends core::Object {
;
static method test(self::Test t) → void {
t.member = self::f<dynamic>();
- let final dynamic #t1 = t in #t1.member.==(null) ?{dynamic} #t1.member = self::f<dynamic>() : null;
+ let final dynamic #t1 = t in #t1.member.==(null) ? #t1.member = self::f<dynamic>() : null;
let final dynamic #t2 = t in #t2.member = #t2.member.+(self::f<dynamic>());
let final dynamic #t3 = t in #t3.member = #t3.member.*(self::f<dynamic>());
let final dynamic #t4 = t in #t4.member = #t4.member.&(self::f<dynamic>());
let final dynamic #t5 = t in #t5.member = #t5.member.-(1);
let final dynamic #t6 = t in #t6.member = #t6.member.-(1);
dynamic v1 = t.member = self::f<dynamic>();
- dynamic v2 = let final dynamic #t7 = t in let final dynamic #t8 = #t7.member in #t8.==(null) ?{dynamic} #t7.member = self::f<dynamic>() : #t8;
+ dynamic v2 = let final dynamic #t7 = t in let final dynamic #t8 = #t7.member in #t8.==(null) ? #t7.member = self::f<dynamic>() : #t8;
dynamic v3 = let final dynamic #t9 = t in #t9.member = #t9.member.+(self::f<dynamic>());
dynamic v4 = let final dynamic #t10 = t in #t10.member = #t10.member.*(self::f<dynamic>());
dynamic v5 = let final dynamic #t11 = t in #t11.member = #t11.member.&(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698