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

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

Issue 2867253004: Fix annotation of generic method invocations in Fasta inference tests. (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_generic_return.dart
diff --git a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart
index dbb234ab974a46a1d345d783da55770d9d9aa407..9415e0da0c7c65ce238d72dd3e9a2b9245b0328c 100644
--- a/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart
+++ b/pkg/front_end/testcases/inference/future_union_downwards_generic_method_with_generic_return.dart
@@ -11,5 +11,5 @@ T id<T>(T x) => /*@promotedType=none*/ x;
main() async {
Future<String> f;
- String s = await id(/*@promotedType=none*/ f);
+ String s = await /*@typeArgs=FutureOr<String>*/ id(/*@promotedType=none*/ f);
}

Powered by Google App Engine
This is Rietveld 408576698