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

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

Issue 2935223003: Update expectations for closure conversion tests (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; 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(2); 5 final Vector #context = MakeVector(2);
6 #context[1] = MakeClosure<() → dynamic>(self::closure#main#f, #context); 6 #context[1] = MakeClosure<() → dynamic>(self::closure#main#f, #context);
7 final dynamic g = MakeClosure<() → dynamic>(self::closure#main#g, #context); 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(Vector #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(Vector #contextParameter) → dynamic {
14 return (#contextParameter[1]).call(); 14 return (#contextParameter[1]).call();
15 } 15 }
OLDNEW
« no previous file with comments | « pkg/kernel/test/closures/closures.status ('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