| Index: tests/language/generic_function_typedef2_test.dart
|
| diff --git a/tests/language/generic_function_typedef2_test.dart b/tests/language/generic_function_typedef2_test.dart
|
| index a5698bd59512c6d724df98f35592d105ed221caa..5dab10d9efe623f3f963e4e0ddc129979e2e72a1 100644
|
| --- a/tests/language/generic_function_typedef2_test.dart
|
| +++ b/tests/language/generic_function_typedef2_test.dart
|
| @@ -14,28 +14,28 @@ typedef H = int; /// 01: compile-time error
|
| typedef I = A; /// 02: compile-time error
|
| typedef J = List<int>; /// 03: compile-time error
|
| typedef K = Function(Function<A>(A
|
| - <int> /// 04: static type warning
|
| + <int> // /// 04: static type warning
|
| ));
|
| typedef L = Function({
|
| - /* /// 05: compile-time error
|
| + /* // /// 05: compile-time error
|
| bool
|
| - */ /// 05: compile-time error
|
| + */ // /// 05: compile-time error
|
| x});
|
|
|
| typedef M = Function({
|
| - /* /// 06: compile-time error
|
| + /* // /// 06: compile-time error
|
| bool
|
| - */ /// 06: compile-time error
|
| + */ // /// 06: compile-time error
|
| int});
|
|
|
| foo({bool int}) {}
|
| main() {
|
| bool b = true;
|
| - Expect.isFalse(b is G); /// 00: continued
|
| - Expect.isFalse(b is H); /// 01: continued
|
| - Expect.isFalse(b is I); /// 02: continued
|
| - Expect.isFalse(b is J); /// 03: continued
|
| - Expect.isFalse(b is K); /// 04: continued
|
| + Expect.isFalse(b is G); // /// 00: continued
|
| + Expect.isFalse(b is H); // /// 01: continued
|
| + Expect.isFalse(b is I); // /// 02: continued
|
| + Expect.isFalse(b is J); // /// 03: continued
|
| + Expect.isFalse(b is K); // /// 04: continued
|
| Expect.isFalse(b is L);
|
| Expect.isFalse(b is M);
|
| Expect.isTrue(foo is M);
|
|
|