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

Unified Diff: pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart.direct.expect

Issue 2976283002: Update expectations. (Closed)
Patch Set: Update compile.status. Created 3 years, 5 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_or.dart.direct.expect
diff --git a/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart.direct.expect b/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart.direct.expect
new file mode 100644
index 0000000000000000000000000000000000000000..661f7f94aef6e976937b08c3ff46eba3fc14ce35
--- /dev/null
+++ b/pkg/front_end/testcases/inference/async_closure_return_type_future_or.dart.direct.expect
@@ -0,0 +1,12 @@
+library test;
+import self as self;
+import "dart:async" as asy;
+import "dart:core" as core;
+
+static field asy::FutureOr<core::int> futureOrInt = null;
+static field dynamic f = () → dynamic => self::futureOrInt;
+static field dynamic g = () → dynamic async => self::futureOrInt;
+static method main() → dynamic {
+ self::f;
+ self::g;
+}

Powered by Google App Engine
This is Rietveld 408576698