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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.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_sync_star.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart
index 0b8d6f1e0e5050033c1c272aaf8301eb2cc7f7f8..9343d8473bd8a7cfba6eafd8f0e37178f7a8f8fd 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart
@@ -9,7 +9,7 @@ main() {
var /*@type=() -> Iterable<Null>*/ f = /*@returnType=Iterable<Null>*/ () sync* {
yield null;
};
- Iterable y = /*@promotedType=none*/ f();
- Iterable<String> z = /*@promotedType=none*/ f();
- String s = /*@promotedType=none*/ f().first;
+ Iterable y = f();
+ Iterable<String> z = f();
+ String s = f().first;
}

Powered by Google App Engine
This is Rietveld 408576698