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

Unified Diff: pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.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_list_literals_infer_if_value_types_match_context.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
index 9e15c0849a6ea713fa169e964aa50c57a611fff8..bcfdb8343844fd6f223ad0bf100ab476fb38cfb7 100644
--- a/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/downwards_inference_on_list_literals_infer_if_value_types_match_context.dart.strong.expect
@@ -2,8 +2,8 @@ library test;
import self as self;
import "dart:core" as core;
-typedef Asserter = <T extends core::Object>(T) → void;
-typedef AsserterBuilder = <S extends core::Object, T extends core::Object>(S) → (T) → void;
+typedef Asserter<T extends core::Object> = (T) → void;
+typedef AsserterBuilder<S extends core::Object, T extends core::Object> = (S) → (T) → void;
class DartType extends core::Object {
constructor •() → void
: super core::Object::•()

Powered by Google App Engine
This is Rietveld 408576698