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

Unified Diff: pkg/front_end/testcases/inference/infer_generic_method_type_named.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/infer_generic_method_type_named.dart
diff --git a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
index 923c928f9d176fb46181786af5e2e4f9e660f60c..234cb06ac47480dfd9649848a97b6a1674685682 100644
--- a/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
+++ b/pkg/front_end/testcases/inference/infer_generic_method_type_named.dart
@@ -10,5 +10,5 @@ class C {
}
main() {
- var /*@type=double*/ y = new C().m(1, b: 'bbb', c: 2.0);
+ var /*@type=double*/ y = new C(). /*@typeArgs=double*/ m(1, b: 'bbb', c: 2.0);
}

Powered by Google App Engine
This is Rietveld 408576698