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

Unified Diff: pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_future_return.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/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 f6cf5c3e9390b1a1cca4f6d602ddfeaeaee26b85..2071a133663b0aec4cf2983a9210fe41a0aae8fa 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,9 +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>*/ /*@target=Future::wait*/ wait(
- /*@typeArgs=Future<List<A>>*/ [f1, f2]);
+ List<List<A>> merged = await Future. /*@typeArgs=List<A>*/ wait(
+ /*@typeArgs=Future<List<A>>*/ [f1, f2]);
}
class A {}

Powered by Google App Engine
This is Rietveld 408576698