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

Unified Diff: pkg/front_end/testcases/inference/block_bodied_lambdas_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_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();

Powered by Google App Engine
This is Rietveld 408576698