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

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

Issue 2891053003: Add support for converted closures with explicit contexts to VM (Closed)
Patch Set: Return statement-to-block conversion for procedure bodies 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/static_tear_off.dart.expect
diff --git a/pkg/kernel/testcases/closures/static_tear_off.dart.expect b/pkg/kernel/testcases/closures/static_tear_off.dart.expect
index 5426f092ec36b0dd951b415b5e909168540342a6..d7caf82d3d8a3701a690aebd537639a8cdfe4ae7 100644
--- a/pkg/kernel/testcases/closures/static_tear_off.dart.expect
+++ b/pkg/kernel/testcases/closures/static_tear_off.dart.expect
@@ -49,16 +49,8 @@ static method test_1(core::Function f, core::bool hasDefault) → dynamic {
}
}
static method main(dynamic arguments) → dynamic {
- self::test_1_1(MakeClosure<(dynamic, [dynamic]) → dynamic>(self::closure#f_1_1_no_default, null), false);
- self::test_1_1(MakeClosure<(dynamic, [dynamic]) → dynamic>(self::closure#f_1_1_default, null), true);
- self::test_1_b(MakeClosure<(dynamic, {b: dynamic}) → dynamic>(self::closure#f_1_b_no_default, null), false);
- self::test_1_b(MakeClosure<(dynamic, {b: dynamic}) → dynamic>(self::closure#f_1_b_default, null), true);
+ self::test_1_1(self::f_1_1_no_default, false);
+ self::test_1_1(self::f_1_1_default, true);
+ self::test_1_b(self::f_1_b_no_default, false);
+ self::test_1_b(self::f_1_b_default, true);
}
-static method closure#f_1_1_no_default(Vector #contextParameter, dynamic a, [dynamic b = null]) → dynamic
- return self::f_1_1_no_default(a, b);
-static method closure#f_1_1_default(Vector #contextParameter, dynamic a, [dynamic b = 2]) → dynamic
- return self::f_1_1_default(a, b);
-static method closure#f_1_b_no_default(Vector #contextParameter, dynamic a, {dynamic b = null}) → dynamic
- return self::f_1_b_no_default(a, b: b);
-static method closure#f_1_b_default(Vector #contextParameter, dynamic a, {dynamic b = 2}) → dynamic
- return self::f_1_b_default(a, b: b);

Powered by Google App Engine
This is Rietveld 408576698