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

Side by Side 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 unified diff | Download patch
OLDNEW
1 library test; 1 library test;
2 import self as self; 2 import self as self;
3 import "dart:core" as core; 3 import "dart:core" as core;
4 4
5 static method main() → dynamic { 5 static method main() → dynamic {
6 () → core::Iterable<core::num> f = () → core::Iterable<core::num> /* originall y sync* */ { 6 () → core::Iterable<core::num> f = () → core::Iterable<core::num> sync* {
7 dynamic :await_jump_var = 0; 7 yield 1;
8 dynamic :await_ctx_var; 8 yield*<core::num>[3, 4.0];
9 function :sync_op(core::Iterator<dynamic> :iterator) → core::bool yielding {
10 {
11 {
12 :iterator._current = 1;
13 [yield] true;
14 }
15 {
16 :iterator.isYieldEach = true;
17 :iterator._current = <core::num>[3, 4.0];
18 [yield] true;
19 }
20 }
21 return false;
22 }
23 return new core::_SyncIterable::•(:sync_op);
24 }; 9 };
25 core::Iterable<core::num> g = f.call(); 10 core::Iterable<core::num> g = f.call();
26 core::Iterable<core::int> h = f.call(); 11 core::Iterable<core::int> h = f.call();
27 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698