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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.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/generic_methods_basic_downward_inference.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
index d7fe65b049c635d6f7e7851c8225dfcc33d96c24..4470fe940911668c0da5873798295df116592a19 100644
--- a/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_basic_downward_inference.dart
@@ -7,6 +7,6 @@ library test;
T f<S, T>(S s) => null;
main() {
- String x = f(42);
+ String x = /*@typeArgs=int, String*/ f(42);
String y = (f)(42);
}

Powered by Google App Engine
This is Rietveld 408576698