| Index: tests/language_2/generic_function_typedef2_test.dart
|
| diff --git a/tests/language/generic_function_typedef2_test.dart b/tests/language_2/generic_function_typedef2_test.dart
|
| similarity index 77%
|
| rename from tests/language/generic_function_typedef2_test.dart
|
| rename to tests/language_2/generic_function_typedef2_test.dart
|
| index 1822971268cf6d5e20b84729afcba15df961ed7e..c91d8d2e9cca61fb00d8a8c2cb5d1bbbb7e49847 100644
|
| --- a/tests/language/generic_function_typedef2_test.dart
|
| +++ b/tests/language_2/generic_function_typedef2_test.dart
|
| @@ -15,7 +15,7 @@ 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: compile-time error
|
| ));
|
| typedef L = Function(
|
| {
|
| @@ -34,11 +34,6 @@ typedef M = Function(
|
| 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 L);
|
| Expect.isFalse(b is M);
|
| Expect.isTrue(foo is M);
|
|
|