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

Unified Diff: pkg/kernel/testcases/closures/capture_closure_parameter.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 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 1c91888ca04aef1b6be02a2a4c8df48fe5f72b3f..d977771ff9d37be46260d95fab4cc6a263d0ecd1 100644
--- a/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_closure_parameter.dart.expect
@@ -3,7 +3,7 @@ import self as self;
import "dart:core" as core;
static method main(core::List<core::String> arguments) → dynamic {
- final dynamic foo = MakeClosure<(dynamic) → dynamic>(self::closure#main#foo, null);
+ 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 {
@@ -13,6 +13,6 @@ static method closure#main#foo(Vector #contextParameter, dynamic x) → dynamic
final Vector #context = MakeVector(2);
#context[0] = #contextParameter;
#context[1] = x;
- final dynamic bar = MakeClosure<() → dynamic>(self::closure#main#foo#bar, #context);
+ final () → dynamic bar = MakeClosure<() → dynamic>(self::closure#main#foo#bar, #context);
return bar;
}
« 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