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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.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_infer_generic_method_type.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
index d483c9a5b5d75fc6863a63539adcd66d36586df6..802e35d4133171135a70a99dafc615d42275f3e6 100644
--- a/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_infer_generic_method_type.dart
@@ -14,6 +14,6 @@ class D extends C {
}
main() {
- int y = new D().m<int>(42);
+ int y = new D(). /*@typeArgs=int*/ m<int>(42);
print(/*@promotedType=none*/ y);
}

Powered by Google App Engine
This is Rietveld 408576698