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

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

Issue 2891053003: Add support for converted closures with explicit contexts to VM (Closed)
Patch Set: Temporarily disable Run step in closures test suite Created 3 years, 5 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_this.dart.expect
diff --git a/pkg/kernel/testcases/closures/capture_this.dart.expect b/pkg/kernel/testcases/closures/capture_this.dart.expect
index 04eaabeab53cff435158e3250f054dbf24ce17e7..35cfbf40960e730533aa72659cc25783e3b93b9f 100644
--- a/pkg/kernel/testcases/closures/capture_this.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_this.dart.expect
@@ -4,7 +4,7 @@ import "dart:core" as core;
class C extends core::Object {
field dynamic x = null;
- constructor •() → void
+ default constructor •() → void
: super core::Object::•()
;
method m() → dynamic {
@@ -15,7 +15,7 @@ class C extends core::Object {
method f() → dynamic {
final Vector #context = MakeVector(2);
#context[1] = this;
- return MakeClosure<() → () → dynamic>(self::closure#C#f#function, #context);
+ return MakeClosure<() → dynamic>(self::closure#C#f#function, #context);
}
}
static method main() → dynamic {
@@ -34,6 +34,6 @@ static method closure#C#m#function(Vector #contextParameter, dynamic v) → dyna
static method closure#C#f#function#function(Vector #contextParameter) → dynamic {
return (#contextParameter[1]).x;
}
-static method closure#C#f#function(Vector #contextParameter) → () → dynamic {
+static method closure#C#f#function(Vector #contextParameter) → dynamic {
return MakeClosure<() → dynamic>(self::closure#C#f#function#function, #contextParameter);
}
« no previous file with comments | « pkg/kernel/test/closures/suite.dart ('k') | pkg/kernel/testcases/closures/closure_in_constructor.dart.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698