Index: pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.direct.expect |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.direct.expect b/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.direct.expect |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5f80e51ad7b586069246b45e402358639cd59dc |
--- /dev/null |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_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 1; |
+ yield*<dynamic>[3, 4.0]; |
+ }; |
+ core::Iterable<core::num> g = f.call(); |
+ core::Iterable<core::int> h = f.call(); |
+} |