Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect

Issue 2939533002: Apply transformations after comparing to golden files. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect
diff --git a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect
index 594fdd78e37426b4c1989e3b6f45bc5a4372fc72..a5fe4f6a8d0384757d0c15f913d2499be8da4c9d 100644
--- a/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect
+++ b/pkg/front_end/testcases/inference/block_bodied_lambdas_infer_bottom_sync_star.dart.strong.expect
@@ -3,19 +3,8 @@ import self as self;
import "dart:core" as core;
static method main() → dynamic {
- () → core::Iterable<core::Null> f = () → core::Iterable<core::Null> /* originally sync* */ {
- dynamic :await_jump_var = 0;
- dynamic :await_ctx_var;
- function :sync_op(core::Iterator<dynamic> :iterator) → core::bool yielding {
- {
- {
- :iterator._current = null;
- [yield] true;
- }
- }
- return false;
- }
- return new core::_SyncIterable::•(:sync_op);
+ () → core::Iterable<core::Null> f = () → core::Iterable<core::Null> sync* {
+ yield null;
};
core::Iterable<dynamic> y = f.call();
core::Iterable<core::String> z = f.call();

Powered by Google App Engine
This is Rietveld 408576698