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

Unified Diff: pkg/kernel/testcases/closures/capture_this.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_this.dart.expect
diff --git a/pkg/kernel/testcases/closures/capture_this.dart.expect b/pkg/kernel/testcases/closures/capture_this.dart.expect
index 6319bfd17f163693b5eaa5415afc608d58efe7d6..04eaabeab53cff435158e3250f054dbf24ce17e7 100644
--- a/pkg/kernel/testcases/closures/capture_this.dart.expect
+++ b/pkg/kernel/testcases/closures/capture_this.dart.expect
@@ -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);
}

Powered by Google App Engine
This is Rietveld 408576698