| Index: tools/dom/templates/immutable_list_mixin.darttemplate
|
| diff --git a/tools/dom/templates/immutable_list_mixin.darttemplate b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| index becce42f2001f484355b6958802b1e6722a4adfe..00709742ae4e60ec76d76ee6b20efbb6c494cb8f 100644
|
| --- a/tools/dom/templates/immutable_list_mixin.darttemplate
|
| +++ b/tools/dom/templates/immutable_list_mixin.darttemplate
|
| @@ -29,11 +29,7 @@ $endif
|
| String join([String separator]) =>
|
| IterableMixinWorkaround.joinList(this, separator);
|
|
|
| - Iterable map(f($E element)) =>
|
| - IterableMixinWorkaround.map(this, f);
|
| -
|
| - List mappedBy(f($E element)) =>
|
| - IterableMixinWorkaround.mappedBy(this, f);
|
| + List mappedBy(f($E element)) => IterableMixinWorkaround.mappedByList(this, f);
|
|
|
| Iterable<$E> where(bool f($E element)) =>
|
| IterableMixinWorkaround.where(this, f);
|
| @@ -47,13 +43,13 @@ $endif
|
|
|
| bool get isEmpty => this.length == 0;
|
|
|
| - Iterable<$E> take(int n) => IterableMixinWorkaround.takeList(this, n);
|
| + List<$E> take(int n) => IterableMixinWorkaround.takeList(this, n);
|
|
|
| Iterable<$E> takeWhile(bool test($E value)) {
|
| return IterableMixinWorkaround.takeWhile(this, test);
|
| }
|
|
|
| - Iterable<$E> skip(int n) => IterableMixinWorkaround.skipList(this, n);
|
| + List<$E> skip(int n) => IterableMixinWorkaround.skipList(this, n);
|
|
|
| Iterable<$E> skipWhile(bool test($E value)) {
|
| return IterableMixinWorkaround.skipWhile(this, test);
|
|
|