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

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

Issue 2867253004: Fix annotation of generic method invocations in Fasta inference tests. (Closed)
Patch Set: Created 3 years, 7 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/method_call_with_type_arguments_top_level_function.dart
diff --git a/pkg/front_end/testcases/inference/method_call_with_type_arguments_top_level_function.dart b/pkg/front_end/testcases/inference/method_call_with_type_arguments_top_level_function.dart
index 1aaa5246de36ed98644dc86dcd6a8adaebc71b40..92e1a260427d61a97de0de06f547d8793306bc36 100644
--- a/pkg/front_end/testcases/inference/method_call_with_type_arguments_top_level_function.dart
+++ b/pkg/front_end/testcases/inference/method_call_with_type_arguments_top_level_function.dart
@@ -9,4 +9,4 @@ D<T> f<T>() => null;
class D<T> {}
-var /*@topType=D<int>*/ g = f<int>();
+var /*@topType=D<int>*/ g = /*@typeArgs=int*/ f<int>();

Powered by Google App Engine
This is Rietveld 408576698