| Index: tests/corelib/list_index_of2_test.dart
|
| diff --git a/tests/corelib/list_index_of2_test.dart b/tests/corelib/list_index_of2_test.dart
|
| index 56aec924faeaf25e4c2579228c4f56964e5121a6..abd89a58a35ab6b899f9fe49a70f7892f4284c1f 100644
|
| --- a/tests/corelib/list_index_of2_test.dart
|
| +++ b/tests/corelib/list_index_of2_test.dart
|
| @@ -4,8 +4,13 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -class A { const A(); }
|
| -class B extends A { const B(); }
|
| +class A {
|
| + const A();
|
| +}
|
| +
|
| +class B extends A {
|
| + const B();
|
| +}
|
|
|
| void test(List<B> list) {
|
| // Test that the list accepts a different type for indexOf.
|
|
|