Index: pkg/front_end/testcases/inference/async_closure_return_type_flatten.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/async_closure_return_type_flatten.dart.direct.expect b/pkg/front_end/testcases/inference/async_closure_return_type_flatten.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9eb8a7193da081adcf13490c89922c10c5948790 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/async_closure_return_type_flatten.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::Future<core::int> futureInt = null; |
+static field dynamic f = () → dynamic => self::futureInt; |
+static field dynamic g = () → dynamic async => self::futureInt; |
+static method main() → dynamic { |
+ self::f; |
+ self::g; |
+} |