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

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

Powered by Google App Engine
This is Rietveld 408576698