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

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

Issue 2882863002: Implement full closure inference logic. (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/async_closure_return_type_future.dart
diff --git a/pkg/front_end/testcases/inference/async_closure_return_type_future.dart b/pkg/front_end/testcases/inference/async_closure_return_type_future.dart
index 5135cb0f2004fb569715a3bfeeab10985c78d0ac..5fbc5aabff70fffa36faf460bb5fad086082d7ef 100644
--- a/pkg/front_end/testcases/inference/async_closure_return_type_future.dart
+++ b/pkg/front_end/testcases/inference/async_closure_return_type_future.dart
@@ -7,3 +7,7 @@ library test;
var /*@topType=() -> Future<int>*/ f = /*@returnType=Future<int>*/ () async =>
0;
+
+main() {
+ f;
+}

Powered by Google App Engine
This is Rietveld 408576698