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

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

Issue 2874033003: Set MethodInvocation.interfaceTarget during type inference. (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 fd6b2e7fe9e165260efdcda287556a53777460c2..3af374fe940ee4f8bb1e3780019f510009e1b506 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,8 +10,8 @@ import 'dart:async';
foo() async {
Future<List<A>> f1 = null;
Future<List<A>> f2 = null;
- List<List<A>> merged =
- await Future. /*@typeArgs=List<A>*/ wait(/*@typeArgs=Future<List<A>>*/ [
+ List<List<A>> merged = await Future
+ . /*@typeArgs=List<A>*/ /*@target=Future::wait*/ wait(/*@typeArgs=Future<List<A>>*/ [
/*@promotedType=none*/ f1,
/*@promotedType=none*/ f2
]);

Powered by Google App Engine
This is Rietveld 408576698