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

Side by Side Diff: pkg/kernel/testcases/closures/capture_closure.dart.expect

Issue 3007623002: Fix many bugs with closure conversion in checked mode. (Closed)
Patch Set: Review comments Created 3 years, 3 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; 1 library;
2 import self as self; 2 import self as self;
3 3
4 static method main(dynamic arguments) → dynamic { 4 static method main(dynamic arguments) → dynamic {
5 final Vector #context = MakeVector(3); 5 final dynamic #context = MakeVector(3);
6 #context[2] = MakeClosure<() → dynamic>(self::closure#main#f, #context); 6 #context[2] = MakeClosure<() → dynamic>(self::closure#main#f, #context);
7 final () → dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #contex t); 7 final () → dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #contex t);
8 g.call(); 8 g.call();
9 } 9 }
10 static method closure#main#f(Vector #contextParameter) → dynamic { 10 static method closure#main#f(dynamic #contextParameter) → dynamic {
11 return null; 11 return null;
12 } 12 }
13 static method closure#main#g(Vector #contextParameter) → dynamic { 13 static method closure#main#g(dynamic #contextParameter) → dynamic {
14 return (#contextParameter[2]).call(); 14 return (#contextParameter[2]).call();
15 } 15 }
OLDNEW
« no previous file with comments | « pkg/kernel/testcases/closures/blocks.dart.expect ('k') | pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698