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

Unified Diff: pkg/front_end/testcases/inference/future_union_upwards_generic_methods.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/future_union_upwards_generic_methods.dart
diff --git a/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
index 32f29108f6131ee174631a2e825b6cc6178f0b80..226b5131aea04b1fdb864d8f5e4b9c6e36c47b26 100644
--- a/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
+++ b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
@@ -14,8 +14,10 @@ main() async {
/*@promotedType=none*/ b,
/*@promotedType=none*/ c
];
- var /*@type=List<A>*/ result = await Future.wait(/*@promotedType=none*/ lll);
- var /*@type=List<A>*/ result2 = await Future.wait(/*@typeArgs=Future<A>*/ [
+ var /*@type=List<A>*/ result =
+ await Future. /*@typeArgs=A*/ wait(/*@promotedType=none*/ lll);
+ var /*@type=List<A>*/ result2 =
+ await Future. /*@typeArgs=A*/ wait(/*@typeArgs=Future<A>*/ [
/*@promotedType=none*/ b,
/*@promotedType=none*/ c
]);

Powered by Google App Engine
This is Rietveld 408576698