| Index: sdk/lib/_collection_dev/iterable.dart
|
| diff --git a/sdk/lib/_collection_dev/iterable.dart b/sdk/lib/_collection_dev/iterable.dart
|
| index c82fa03731860c34d6ee8fb5b9c7344f1043d5b6..daefbcf79f4505e611c6458d826618ebd1530dee 100644
|
| --- a/sdk/lib/_collection_dev/iterable.dart
|
| +++ b/sdk/lib/_collection_dev/iterable.dart
|
| @@ -46,7 +46,7 @@ abstract class ListIterable<E> extends IterableBase<E> {
|
| return elementAt(0);
|
| }
|
|
|
| - bool contains(E element) {
|
| + bool contains(Object element) {
|
| int length = this.length;
|
| for (int i = 0; i < length; i++) {
|
| if (elementAt(i) == element) return true;
|
| @@ -607,7 +607,7 @@ class EmptyIterable<E> extends IterableBase<E> {
|
|
|
| E elementAt(int index) { throw new RangeError.value(index); }
|
|
|
| - bool contains(E element) => false;
|
| + bool contains(Object element) => false;
|
|
|
| bool every(bool test(E element)) => true;
|
|
|
|
|