| Index: sdk/lib/collection/set.dart
|
| diff --git a/sdk/lib/collection/set.dart b/sdk/lib/collection/set.dart
|
| index 7776655f3e5c0ef42777b6b170e2b986b1902027..5aaa0a3577a412c2140d340591f2bc41c6efbb52 100644
|
| --- a/sdk/lib/collection/set.dart
|
| +++ b/sdk/lib/collection/set.dart
|
| @@ -120,8 +120,8 @@ abstract class SetMixin<E> implements Set<E> {
|
| return result;
|
| }
|
|
|
| - Iterable<T> map<T>(T f(E element)) => new EfficientLengthMappedIterable<E, T>(
|
| - this, f);
|
| + Iterable<T> map<T>(T f(E element)) =>
|
| + new EfficientLengthMappedIterable<E, T>(this, f);
|
|
|
| E get single {
|
| if (length > 1) throw IterableElementError.tooMany();
|
| @@ -138,8 +138,8 @@ abstract class SetMixin<E> implements Set<E> {
|
|
|
| Iterable<E> where(bool f(E element)) => new WhereIterable<E>(this, f);
|
|
|
| - Iterable<T>
|
| - expand<T>(Iterable<T> f(E element)) => new ExpandIterable<E, T>(this, f);
|
| + Iterable<T> expand<T>(Iterable<T> f(E element)) =>
|
| + new ExpandIterable<E, T>(this, f);
|
|
|
| void forEach(void f(E element)) {
|
| for (E element in this) f(element);
|
|
|