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

Unified Diff: pkg/front_end/testcases/inference/future_union_upwards_generic_methods.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_upwards_generic_methods.dart
diff --git a/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
index 254e3a30105209eac42ed40eaaa945461fa6157e..cec22b87d6a4bb7589eb42e72217dccffd4e5dc9 100644
--- a/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
+++ b/pkg/front_end/testcases/inference/future_union_upwards_generic_methods.dart
@@ -11,11 +11,9 @@ main() async {
var /*@type=Future<B>*/ b = new Future<B>.value(new B());
var /*@type=Future<C>*/ c = new Future<C>.value(new C());
var /*@type=List<Future<A>>*/ lll = /*@typeArgs=Future<A>*/ [b, c];
- var /*@type=List<A>*/ result =
- await Future. /*@typeArgs=A*/ /*@target=Future::wait*/ wait(lll);
- var /*@type=List<A>*/ result2 =
- await Future. /*@typeArgs=A*/ /*@target=Future::wait*/ wait(
- /*@typeArgs=Future<A>*/ [b, c]);
+ var /*@type=List<A>*/ result = await Future. /*@typeArgs=A*/ wait(lll);
+ var /*@type=List<A>*/ result2 = await Future. /*@typeArgs=A*/ wait(
+ /*@typeArgs=Future<A>*/ [b, c]);
List<A> list = result;
list = result2;
}

Powered by Google App Engine
This is Rietveld 408576698