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

Unified Diff: pkg/front_end/testcases/inference/inferred_type_is_typedef_parameterized.dart

Issue 2925693002: Do not annotate type parameters of instantiated function types. (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/inferred_type_is_typedef_parameterized.dart
diff --git a/pkg/front_end/testcases/inference/inferred_type_is_typedef_parameterized.dart b/pkg/front_end/testcases/inference/inferred_type_is_typedef_parameterized.dart
index 22c5a98f2266f098378b2bf9440065790fb9399a..26b4cc8ae464eaaa8eb1183f8660172abec3af32 100644
--- a/pkg/front_end/testcases/inference/inferred_type_is_typedef_parameterized.dart
+++ b/pkg/front_end/testcases/inference/inferred_type_is_typedef_parameterized.dart
@@ -6,4 +6,6 @@
library test;
typedef T F<T>();
-final /*@topType=Map<String, <int>() -> int>*/ x = <String, F<int>>{};
+final /*@topType=Map<String, () -> int>*/ x = <String, F<int>>{};
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698