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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_implicit_this.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_implicit_this.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.direct.expect
index 513686dfe54dfd24ed1a7b80ba47215ec39b5135..c7d31d099df635a3b4f1dec2e8b27779288180b8 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_implicit_this.dart.direct.expect
@@ -32,14 +32,14 @@ class Test extends core::Object {
;
method test() → void {
this.member = self::f<dynamic>();
- this.member.==(null) ?{dynamic} this.member = self::f<dynamic>() : null;
+ this.member.==(null) ? this.member = self::f<dynamic>() : null;
this.member = this.member.+(self::f<dynamic>());
this.member = this.member.*(self::f<dynamic>());
this.member = this.member.&(self::f<dynamic>());
this.member = this.member.-(1);
this.member = this.member.-(1);
dynamic v1 = this.member = self::f<dynamic>();
- dynamic v2 = let final dynamic #t1 = this.member in #t1.==(null) ?{dynamic} this.member = self::f<dynamic>() : #t1;
+ dynamic v2 = let final dynamic #t1 = this.member in #t1.==(null) ? this.member = self::f<dynamic>() : #t1;
dynamic v3 = this.member = this.member.+(self::f<dynamic>());
dynamic v4 = this.member = this.member.*(self::f<dynamic>());
dynamic v5 = this.member = this.member.&(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698