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

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

Issue 2865403007: Get rid of promotedType=none annotations (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/block_bodied_lambdas_infer_bottom_async.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_async.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_async.dart
index 5934c3630e1d6b5915510619f270c0ce3e6f2911..b520fa367dcc5bed92e49aa66753dc060e531f93 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_async.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_async.dart
@@ -11,7 +11,7 @@ main() async {
var /*@type=() -> Future<Null>*/ f = /*@returnType=Future<Null>*/ () async {
return null;
};
- Future y = /*@promotedType=none*/ f();
- Future<String> z = /*@promotedType=none*/ f();
- String s = await /*@promotedType=none*/ f();
+ Future y = f();
+ Future<String> z = f();
+ String s = await f();
}

Powered by Google App Engine
This is Rietveld 408576698