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

Unified Diff: pkg/kernel/testcases/closures/named_closure.dart.expect

Issue 3007623002: Fix many bugs with closure conversion in checked mode. (Closed)
Patch Set: Review comments Created 3 years, 4 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/kernel/testcases/closures/named_closure.dart.expect
diff --git a/pkg/kernel/testcases/closures/named_closure.dart.expect b/pkg/kernel/testcases/closures/named_closure.dart.expect
index 7fe9b5d527b95ff81e728c4464a148e2ca991479..5e184ddaf712063057ce90cb7d5cb361516e4ac3 100644
--- a/pkg/kernel/testcases/closures/named_closure.dart.expect
+++ b/pkg/kernel/testcases/closures/named_closure.dart.expect
@@ -7,12 +7,12 @@ static method foo() → dynamic {
core::print(self::f.call(0));
}
static method main(dynamic arguments) → dynamic {
- final Vector #context = MakeVector(3);
+ final dynamic #context = MakeVector(3);
#context[2] = arguments;
final (dynamic) → dynamic g = MakeClosure<(dynamic) → dynamic>(self::closure#main#g, #context);
self::f = g;
self::foo();
}
-static method closure#main#g(Vector #contextParameter, dynamic x) → dynamic {
+static method closure#main#g(dynamic #contextParameter, dynamic x) → dynamic {
return (#contextParameter[2]).[](x);
}
« no previous file with comments | « pkg/kernel/testcases/closures/loop2.dart.expect ('k') | pkg/kernel/testcases/closures/non_void_context.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698