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

Unified Diff: pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.strong.expect

Issue 2967923002: Use type variables on Typedef correctly. (Closed)
Patch Set: Fix NPE and change compile-time error to warning. Created 3 years, 5 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/downward_inference_miscellaneous.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.strong.expect b/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.strong.expect
index dd7db971b787f2f6227c0f93af9f9ffddb091f7d..64aca1e39a58bb5cad8cd09159f7529c7cf1a238 100644
--- a/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/downward_inference_miscellaneous.dart.strong.expect
@@ -2,7 +2,7 @@ library test;
import self as self;
import "dart:core" as core;
-typedef Function2 = <S extends core::Object, T extends core::Object>(S) → T;
+typedef Function2<S extends core::Object, T extends core::Object> = (S) → T;
class A<T extends core::Object> extends core::Object {
field (self::A::T) → self::A::T x;
constructor •((self::A::T) → self::A::T x) → void

Powered by Google App Engine
This is Rietveld 408576698