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; |
+} |