| Index: tests/language/function_type_alias7_test.dart
|
| diff --git a/tests/language/function_type_alias7_test.dart b/tests/language/function_type_alias7_test.dart
|
| index 03c5e0316f5080b52cdf603657de81f114ef9d39..41712f24d4d885d997eed40bf8adbc4d04657076 100644
|
| --- a/tests/language/function_type_alias7_test.dart
|
| +++ b/tests/language/function_type_alias7_test.dart
|
| @@ -7,6 +7,8 @@ typedef void funcType([int arg]);
|
|
|
| typedef void badFuncType([int arg = 0]); /// 00: compile-time error
|
|
|
| +typedef void badFuncType({int arg: 0}); /// 02: compile-time error
|
| +
|
| class A
|
| extends funcType /// 01: compile-time error
|
| {
|
| @@ -14,4 +16,6 @@ class A
|
|
|
| main() {
|
| new A();
|
| + badFuncType f; /// 00: continued
|
| + badFuncType f; /// 02: continued
|
| }
|
|
|