Index: pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart.direct.expect b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..09033f6d91112b0650c34e79de2aa9afac304a91 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_async_star.dart.direct.expect |
@@ -0,0 +1,14 @@ |
+library test; |
+import self as self; |
+import "dart:async" as asy; |
+import "dart:core" as core; |
+ |
+static method main() → dynamic { |
+ dynamic f = () → dynamic async* { |
+ yield 1; |
+ asy::Stream<core::double> s; |
+ yield* s; |
+ }; |
+ asy::Stream<core::num> g = f.call(); |
+ asy::Stream<core::int> h = f.call(); |
+} |