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

Unified Diff: pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.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_uses_greatest_lower_bound.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart b/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
index 3ab1525f0be6e9808cf93ea691d8625a21e10275..3f89def1ccccb1bc3850a4bf78b6ce326e2231e6 100644
--- a/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_uses_greatest_lower_bound.dart
@@ -11,7 +11,7 @@ typedef List<int> G(double x);
T generic<T>(a(T _), b(T _)) => null;
main() {
- var /*@type=(num) -> List<int>*/ v = generic(
+ var /*@type=(num) -> List<int>*/ v = /*@typeArgs=(num) -> List<int>*/ generic(
/*@returnType=dynamic*/ (F f) => null,
/*@returnType=dynamic*/ (G g) => null);
}

Powered by Google App Engine
This is Rietveld 408576698