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

Unified Diff: pkg/front_end/testcases/inference/infer_assign_to_local.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_local.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/infer_assign_to_local.dart.direct.expect b/pkg/front_end/testcases/inference/infer_assign_to_local.dart.direct.expect
index 4bf3521d9d28853c2036192afc498659c2344387..df109d396bf0e436d5979d1ed1e61283801ea514 100644
--- a/pkg/front_end/testcases/inference/infer_assign_to_local.dart.direct.expect
+++ b/pkg/front_end/testcases/inference/infer_assign_to_local.dart.direct.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<dynamic>();
- local.==(null) ?{dynamic} local = self::f<dynamic>() : null;
+ local.==(null) ? local = self::f<dynamic>() : null;
local = local.+(self::f<dynamic>());
local = local.*(self::f<dynamic>());
local = local.&(self::f<dynamic>());
local = local.-(1);
local = local.-(1);
dynamic v1 = local = self::f<dynamic>();
- dynamic v2 = let final dynamic #t1 = local in #t1.==(null) ?{dynamic} local = self::f<dynamic>() : #t1;
+ dynamic v2 = let final dynamic #t1 = local in #t1.==(null) ? local = self::f<dynamic>() : #t1;
dynamic v3 = local = local.+(self::f<dynamic>());
dynamic v4 = local = local.*(self::f<dynamic>());
dynamic v5 = local = local.&(self::f<dynamic>());

Powered by Google App Engine
This is Rietveld 408576698