| Index: tests/language/call_function_apply_test.dart
|
| diff --git a/tests/language/issue13179_test.dart b/tests/language/call_function_apply_test.dart
|
| similarity index 69%
|
| copy from tests/language/issue13179_test.dart
|
| copy to tests/language/call_function_apply_test.dart
|
| index 0439ceab895f5925234763b90cb323007bc19b14..935cfaf832aff599478847534822d651a4ddcd51 100644
|
| --- a/tests/language/issue13179_test.dart
|
| +++ b/tests/language/call_function_apply_test.dart
|
| @@ -4,16 +4,12 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -int count = 0;
|
| -
|
| -void f([void f([x]) = f]) {
|
| - count++;
|
| - if (f != null) {
|
| - f(null);
|
| +class A {
|
| + call({a: 42}) {
|
| + return 499 + a;
|
| }
|
| }
|
|
|
| main() {
|
| - f();
|
| - Expect.equals(2, count);
|
| + Expect.equals(497, Function.apply(new A(), [], {#a: -2}));
|
| }
|
|
|