Index: runtime/lib/growable_array.dart |
diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart |
index 39e35fdb049586f3f867094c0b8e11ecf73dcca0..cd318648332cccb08ccecb74bd79091817e82af8 100644 |
--- a/runtime/lib/growable_array.dart |
+++ b/runtime/lib/growable_array.dart |
@@ -242,6 +242,10 @@ class _GrowableObjectArray<T> implements List<T> { |
return buffer.toString(); |
} |
+ Iterable map(f(T element)) { |
+ return IterableMixinWorkaround.map(this, f); |
+ } |
+ |
List mappedBy(f(T element)) { |
return IterableMixinWorkaround.mappedByList(this, f); |
} |
@@ -254,7 +258,7 @@ class _GrowableObjectArray<T> implements List<T> { |
return IterableMixinWorkaround.where(this, f); |
} |
- List<T> take(int n) { |
+ Iterable<T> take(int n) { |
return IterableMixinWorkaround.takeList(this, n); |
} |
@@ -262,7 +266,7 @@ class _GrowableObjectArray<T> implements List<T> { |
return IterableMixinWorkaround.takeWhile(this, test); |
} |
- List<T> skip(int n) { |
+ Iterable<T> skip(int n) { |
return IterableMixinWorkaround.skipList(this, n); |
} |