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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_async_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_async_star.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart
index 8cf20571d552c55017c0f1f3577a45dec16271be..dbf26f952b2a2033f1f512d64810facd4e77c80f 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart
@@ -11,8 +11,8 @@ main() {
var /*@type=() -> Stream<num>*/ f = /*@returnType=Stream<num>*/ () async* {
yield 1;
Stream<double> s;
- yield* /*@promotedType=none*/ s;
+ yield* s;
};
- Stream<num> g = /*@promotedType=none*/ f();
- Stream<int> h = /*info:ASSIGNMENT_CAST*/ /*@promotedType=none*/ f();
+ Stream<num> g = f();
+ Stream<int> h = /*info:ASSIGNMENT_CAST*/ f();
}

Powered by Google App Engine
This is Rietveld 408576698