Index: pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.direct.expect b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..11184e3963d36c4afe60b969537c8f341d396b43 |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.direct.expect |
@@ -0,0 +1,12 @@ |
+library test; |
+import self as self; |
+import "dart:core" as core; |
+ |
+static method main() → dynamic { |
+ dynamic f = () → dynamic sync* { |
+ yield null; |
+ }; |
+ core::Iterable<dynamic> y = f.call(); |
+ core::Iterable<core::String> z = f.call(); |
+ core::String s = f.call().first; |
+} |