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

Unified Diff: pkg/kernel/testcases/closures/contexts_in_field_initializers.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
« no previous file with comments | « pkg/kernel/testcases/closures/closures.dart.expect ('k') | pkg/kernel/testcases/closures/field.dart.expect » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
diff --git a/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect b/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
index 7bb4f5217aef372bb354ea7d670d3927ba874c44..4e3a7b66d0f36c8d73dd0fbf6b85e5ff9473f466 100644
--- a/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
+++ b/pkg/kernel/testcases/closures/contexts_in_field_initializers.dart.expect
@@ -15,9 +15,9 @@ class A extends core::Object {
class B extends core::Object {
field self::X x;
constructor •(self::X x) → void
- : final Vector #context = MakeVector(3), this self::B::#redir(x, #context)
+ : final dynamic #context = MakeVector(3), this self::B::#redir(x, #context)
;
- constructor #redir(self::X x, final Vector #context) → void
+ constructor #redir(self::X x, final dynamic #context) → void
: dynamic #t1 = #context[2] = x, self::B::x = #context[2], super core::Object::•() {
final () → dynamic fn = MakeClosure<() → dynamic>(self::closure#B#function#fn, #context);
fn.call();
@@ -27,6 +27,6 @@ static method main() → dynamic {
self::A a = new self::A::•(new self::X::•());
self::B b = new self::B::•(new self::X::•());
}
-static method closure#B#function#fn(Vector #contextParameter) → dynamic {
+static method closure#B#function#fn(dynamic #contextParameter) → dynamic {
core::print(#contextParameter[2]);
}
« no previous file with comments | « pkg/kernel/testcases/closures/closures.dart.expect ('k') | pkg/kernel/testcases/closures/field.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698