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

Unified Diff: pkg/kernel/testcases/closures/capture_closure_parameter.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/capture_closure_parameter.dart.expect
diff --git a/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect b/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect
index 78a92b5d174262fa94790eedd3f408a7bf24ff5b..c2a7b2c104602d68ee0ef854135aa2fa20d0fc4d 100644
--- a/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect
@@ -6,11 +6,11 @@ static method main(core::List<core::String> arguments) → dynamic {
final (dynamic) → dynamic foo = MakeClosure<(dynamic) → dynamic>(self::closure#main#foo, null);
foo.call(arguments.[](0)).call();
}
-static method closure#main#foo#bar(Vector #contextParameter) → dynamic {
+static method closure#main#foo#bar(dynamic #contextParameter) → dynamic {
core::print(#contextParameter[2]);
}
-static method closure#main#foo(Vector #contextParameter, dynamic x) → dynamic {
- final Vector #context = MakeVector(3);
+static method closure#main#foo(dynamic #contextParameter, dynamic x) → dynamic {
+ final dynamic #context = MakeVector(3);
#context[1] = #contextParameter;
#context[2] = x;
final () → dynamic bar = MakeClosure<() → dynamic>(self::closure#main#foo#bar, #context);
« no previous file with comments | « pkg/kernel/testcases/closures/capture_closure.dart.expect ('k') | pkg/kernel/testcases/closures/capture_this.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698