| Index: sdk/lib/collection/iterable.dart
|
| diff --git a/sdk/lib/collection/iterable.dart b/sdk/lib/collection/iterable.dart
|
| index a9505432dd30f91ebfb62596764fd25fbc2ec4be..fbaf08c19eee64d8ea2be74dcc5a78e1bbf22b08 100644
|
| --- a/sdk/lib/collection/iterable.dart
|
| +++ b/sdk/lib/collection/iterable.dart
|
| @@ -17,7 +17,7 @@ abstract class IterableMixin<E> implements Iterable<E> {
|
| Iterable expand(Iterable f(E element)) =>
|
| new ExpandIterable<E, dynamic>(this, f);
|
|
|
| - bool contains(E element) {
|
| + bool contains(Object element) {
|
| for (E e in this) {
|
| if (e == element) return true;
|
| }
|
| @@ -211,7 +211,7 @@ abstract class IterableBase<E> implements Iterable<E> {
|
| Iterable expand(Iterable f(E element)) =>
|
| new ExpandIterable<E, dynamic>(this, f);
|
|
|
| - bool contains(E element) {
|
| + bool contains(Object element) {
|
| for (E e in this) {
|
| if (e == element) return true;
|
| }
|
|
|