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

Unified Diff: pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.dart

Issue 2865403007: Get rid of promotedType=none annotations (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 3af374fe940ee4f8bb1e3780019f510009e1b506..eb88274ef6a3c078ec19cca2cd209f283f6e53f8 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,11 +10,9 @@ import 'dart:async';
foo() async {
Future<List<A>> f1 = null;
Future<List<A>> f2 = null;
- List<List<A>> merged = await Future
- . /*@typeArgs=List<A>*/ /*@target=Future::wait*/ wait(/*@typeArgs=Future<List<A>>*/ [
- /*@promotedType=none*/ f1,
- /*@promotedType=none*/ f2
- ]);
+ List<List<A>> merged =
+ await Future. /*@typeArgs=List<A>*/ /*@target=Future::wait*/ wait(
+ /*@typeArgs=Future<List<A>>*/ [f1, f2]);
}
class A {}

Powered by Google App Engine
This is Rietveld 408576698