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

Unified Diff: pkg/front_end/testcases/inference/generic_functions_return_typedef.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/generic_functions_return_typedef.dart
diff --git a/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart b/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
index 60cf28c7ea3b9c21d120f1e0725f0994817853aa..5341fd11611cb0b6b0e6c3427d3a8059b123b55c 100644
--- a/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
+++ b/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
@@ -9,8 +9,8 @@ typedef void ToValue<T>(T value);
main() {
ToValue<T> f<T>(T x) => null;
- var /*@type=<int>(int) -> void*/ x = f<int>(42);
- var /*@type=<int>(int) -> void*/ y = /*@typeArgs=int*/ f(42);
+ var /*@type=(int) -> void*/ x = f<int>(42);
+ var /*@type=(int) -> void*/ y = /*@typeArgs=int*/ f(42);
ToValue<int> takesInt = x;
takesInt = y;
}

Powered by Google App Engine
This is Rietveld 408576698