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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.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_mix_of_values_and_futures.dart
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
index 34eacb4277f241a4139d21f0ccab78b089886579..12acb0126dc65eff104faca5b63712e95de3181a 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_mix_of_values_and_futures.dart
@@ -16,6 +16,6 @@ main() {
return 2.0;
}
};
- Future<num> g = /*@promotedType=none*/ f();
- Future<int> h = /*info:ASSIGNMENT_CAST*/ /*@promotedType=none*/ f();
+ Future<num> g = f();
+ Future<int> h = /*info:ASSIGNMENT_CAST*/ f();
}

Powered by Google App Engine
This is Rietveld 408576698