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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_function_expressions.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/downwards_inference_on_function_expressions.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_function_expressions.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_on_function_expressions.dart.strong.expect
index 2835e1ca24be3dfaf46cfb181fcba47dcb243d6d..898b5afb2eb626af741523f36a7b00949de00058 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_on_function_expressions.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_function_expressions.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;
static method main() → void {
{
(core::int) → core::String l0 = (core::int x) → core::String => null;

Powered by Google App Engine
This is Rietveld 408576698