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

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

Issue 2920223008: Record method invocation targets that are not procedures. (Closed)
Patch Set: Created 3 years, 6 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_iterable_and_future.dart
diff --git a/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart b/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
index c38e1dc2a30c82a255132a30651a368261877bff..b21b7e40466575af1f681641f185656ae882b553 100644
--- a/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
+++ b/pkg/front_end/testcases/inference/generic_methods_iterable_and_future.dart
@@ -13,8 +13,7 @@ Future<int> make(int x) => (new /*@typeArgs=int*/ Future(
main() {
Iterable<Future<int>> list = <int>[1, 2, 3]
. /*@typeArgs=Future<int>*/ /*@target=Iterable::map*/ map(make);
- Future<List<int>> results =
- Future. /*@typeArgs=int*/ /*@target=Future::wait*/ wait(list);
+ Future<List<int>> results = Future. /*@typeArgs=int*/ wait(list);
Future<String> results2 =
results. /*@typeArgs=String*/ /*@target=Future::then*/ then(
/*@returnType=FutureOr<String>*/ (List<int> list) =>

Powered by Google App Engine
This is Rietveld 408576698