Index: pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.strong.expect |
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.strong.expect b/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.strong.expect |
index dff6191dff13ca81ebb3ac1f4f3c13df757c89d7..a7024fa92945043f8d56a835ab902136bd670595 100644 |
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.strong.expect |
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_sync_star.dart.strong.expect |
@@ -3,24 +3,9 @@ import self as self; |
import "dart:core" as core; |
static method main() → dynamic { |
- () → core::Iterable<core::num> f = () → core::Iterable<core::num> /* originally sync* */ { |
- dynamic :await_jump_var = 0; |
- dynamic :await_ctx_var; |
- function :sync_op(core::Iterator<dynamic> :iterator) → core::bool yielding { |
- { |
- { |
- :iterator._current = 1; |
- [yield] true; |
- } |
- { |
- :iterator.isYieldEach = true; |
- :iterator._current = <core::num>[3, 4.0]; |
- [yield] true; |
- } |
- } |
- return false; |
- } |
- return new core::_SyncIterable::•(:sync_op); |
+ () → core::Iterable<core::num> f = () → core::Iterable<core::num> sync* { |
+ yield 1; |
+ yield*<core::num>[3, 4.0]; |
}; |
core::Iterable<core::num> g = f.call(); |
core::Iterable<core::int> h = f.call(); |