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

Unified Diff: pkg/front_end/testcases/inference/future_union_upwards_generic_methods.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_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 226b5131aea04b1fdb864d8f5e4b9c6e36c47b26..47ecba52db3fb7bd9fceea142eb4175573f2b3d3 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
@@ -15,9 +15,10 @@ main() async {
/*@promotedType=none*/ c
];
var /*@type=List<A>*/ result =
- await Future. /*@typeArgs=A*/ wait(/*@promotedType=none*/ lll);
- var /*@type=List<A>*/ result2 =
- await Future. /*@typeArgs=A*/ wait(/*@typeArgs=Future<A>*/ [
+ await Future. /*@typeArgs=A*/ /*@target=Future::wait*/ wait(
+ /*@promotedType=none*/ lll);
+ var /*@type=List<A>*/ result2 = await Future
+ . /*@typeArgs=A*/ /*@target=Future::wait*/ wait(/*@typeArgs=Future<A>*/ [
/*@promotedType=none*/ b,
/*@promotedType=none*/ c
]);

Powered by Google App Engine
This is Rietveld 408576698