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

Unified Diff: pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.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_downwards_generic_method_with_future_return.dart
diff --git a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart
index 9aeeed43dd7ac12b1168e8f16bcd79a4ca1787b1..fd6b2e7fe9e165260efdcda287556a53777460c2 100644
--- a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart
+++ b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart
@@ -10,7 +10,8 @@ import 'dart:async';
foo() async {
Future<List<A>> f1 = null;
Future<List<A>> f2 = null;
- List<List<A>> merged = await Future.wait(/*@typeArgs=Future<List<A>>*/ [
+ List<List<A>> merged =
+ await Future. /*@typeArgs=List<A>*/ wait(/*@typeArgs=Future<List<A>>*/ [
/*@promotedType=none*/ f1,
/*@promotedType=none*/ f2
]);

Powered by Google App Engine
This is Rietveld 408576698