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

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

Issue 2866363004: Fix annotation of generic method invocations in Fasta inference tests (again). (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/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 60f28dc5bcb7251ee0434e79322f1b84e02602b7..20b5883b9ff0dcfcd7c88300de9d44c2c6dbd8cf 100644
--- a/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
+++ b/pkg/front_end/testcases/inference/generic_functions_return_typedef.dart
@@ -9,7 +9,7 @@ typedef void ToValue<T>(T value);
main() {
ToValue<T> f<T>(T x) => null;
- var /*@type=ToValue<int>(int) -> void*/ x = /*@typeArgs=int*/ f<int>(42);
+ var /*@type=ToValue<int>(int) -> void*/ x = f<int>(42);
var /*@type=ToValue<int>(int) -> void*/ y = /*@typeArgs=int*/ f(42);
ToValue<int> takesInt = /*@promotedType=none*/ x;
takesInt = /*@promotedType=none*/ y;

Powered by Google App Engine
This is Rietveld 408576698