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

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

Issue 2939533002: Apply transformations after comparing to golden files. (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 cb372aa975d12b0cad981e9c6ae12d65f10841d5..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
@@ -25,22 +25,22 @@ class C extends self::B {
: super self::B::•()
;
}
-static method f() → dynamic
+static method f<T extends core::Object>() → self::f::T
return null;
static method test() → void {
self::B local;
- local = self::f();
- local.==(null) ? local = self::f() : null;
- local = local.+(self::f());
- local = local.*(self::f());
- local = local.&(self::f());
+ local = self::f<dynamic>();
+ 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 v2 = let final dynamic #t1 = local in #t1.==(null) ? local = self::f() : #t1;
- dynamic v3 = local = local.+(self::f());
- dynamic v4 = local = local.*(self::f());
- dynamic v5 = local = local.&(self::f());
+ dynamic v1 = local = self::f<dynamic>();
+ 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>());
dynamic v6 = local = local.-(1);
dynamic v7 = let final dynamic #t2 = local in let final dynamic #t3 = local = #t2.-(1) in #t2;
}

Powered by Google App Engine
This is Rietveld 408576698