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

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

Issue 2904263003: Implement type inference for await expressions in front_end. (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_then_upwards_from_block.dart
diff --git a/pkg/front_end/testcases/inference/future_then_upwards_from_block.dart b/pkg/front_end/testcases/inference/future_then_upwards_from_block.dart
index 79038744ac0b16af19a6880258c97e90029820ae..952672a17b621d7c837eb05bf8862078bb6808b7 100644
--- a/pkg/front_end/testcases/inference/future_then_upwards_from_block.dart
+++ b/pkg/front_end/testcases/inference/future_then_upwards_from_block.dart
@@ -7,7 +7,7 @@ library test;
import 'dart:async';
-main() {
+test() {
Future<int> base;
var /*@type=Future<bool>*/ f =
base. /*@typeArgs=bool*/ /*@target=Future::then*/ then(
@@ -20,3 +20,5 @@ main() {
Future<bool> b = f;
b = g;
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698