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

Unified Diff: pkg/kernel/testcases/closures/closure_in_initializer_closure.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/closure_in_initializer_closure.dart.expect
diff --git a/pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect b/pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect
index e66d8be0d24346c444183854fa79ac22044bb967..fcbac2f0d7d7f5dc578ea522d52ba1e2500c3094 100644
--- a/pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect
+++ b/pkg/kernel/testcases/closures/closure_in_initializer_closure.dart.expect
@@ -13,7 +13,7 @@ class C extends core::Object {
}
static method main() → dynamic {
core::print(0);
- dynamic c = new self::C::foo(MakeClosure<(dynamic) → dynamic>(self::closure#main#function, null));
+ dynamic c = new self::C::foo(MakeClosure<(dynamic) → void>(self::closure#main#function, null));
core::print(2);
c.t().call("fisk");
core::print(3);
@@ -29,6 +29,6 @@ static method closure#C#foo#function(Vector #contextParameter) → dynamic {
#context[1] = "hest";
return g;
}
-static method closure#main#function(Vector #contextParameter, dynamic x) → dynamic {
+static method closure#main#function(Vector #contextParameter, dynamic x) → void {
return core::print(x);
}
« no previous file with comments | « pkg/kernel/testcases/closures/closure_in_initializer.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