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 b316f7fa50b9e60135b9fc4146215c19511b20d2..5426f092ec36b0dd951b415b5e909168540342a6 100644 |
--- a/pkg/kernel/testcases/closures/static_tear_off.dart.expect |
+++ b/pkg/kernel/testcases/closures/static_tear_off.dart.expect |
@@ -2,13 +2,13 @@ library; |
import self as self; |
import "dart:core" as core; |
-static method f_1_1_no_default(dynamic a, [dynamic b]) → dynamic { |
+static method f_1_1_no_default(dynamic a, [dynamic b = null]) → dynamic { |
return a.+(b); |
} |
static method f_1_1_default(dynamic a, [dynamic b = 2]) → dynamic { |
return a.+(b); |
} |
-static method f_1_b_no_default(dynamic a, {dynamic b}) → dynamic { |
+static method f_1_b_no_default(dynamic a, {dynamic b = null}) → dynamic { |
return a.+(b); |
} |
static method f_1_b_default(dynamic a, {dynamic b = 2}) → dynamic { |
@@ -33,7 +33,7 @@ static method test_1(core::Function f, core::bool hasDefault) → dynamic { |
result = f.call(40); |
threw = false; |
} |
- on dynamic catch(dynamic _) { |
+ on dynamic catch(final dynamic _) { |
} |
if(hasDefault) { |
if(threw) |
@@ -54,11 +54,11 @@ static method main(dynamic arguments) → dynamic { |
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); |
} |
-static method closure#f_1_1_no_default(Vector #contextParameter, dynamic a, [dynamic b]) → dynamic |
+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}) → dynamic |
+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); |