Index: runtime/lib/byte_array.dart |
diff --git a/runtime/lib/byte_array.dart b/runtime/lib/byte_array.dart |
index 9794eba4ca99a3c1fa4eed8df9cf5976e05a5ad9..74e2c3a357360a02f59b6fd02dea8c57a0f822b1 100644 |
--- a/runtime/lib/byte_array.dart |
+++ b/runtime/lib/byte_array.dart |
@@ -229,6 +229,10 @@ abstract class _ByteArrayBase { |
} |
} |
+ Iterable map(f(int element)) { |
+ return IterableMixinWorkaround.map(this, f); |
+ } |
+ |
List mappedBy(f(int element)) { |
return IterableMixinWorkaround.mappedByList(this, f); |
} |
@@ -246,7 +250,7 @@ abstract class _ByteArrayBase { |
return IterableMixinWorkaround.where(this, f); |
} |
- List<int> take(int n) { |
+ Iterable<int> take(int n) { |
return IterableMixinWorkaround.takeList(this, n); |
} |
@@ -254,7 +258,7 @@ abstract class _ByteArrayBase { |
return IterableMixinWorkaround.takeWhile(this, test); |
} |
- List<int> skip(int n) { |
+ Iterable<int> skip(int n) { |
return IterableMixinWorkaround.skipList(this, n); |
} |