Index: runtime/lib/typeddata.dart |
diff --git a/runtime/lib/typeddata.dart b/runtime/lib/typeddata.dart |
index 26445b805fb71cdfb93862a4907d818ec7e6b2d2..8419031cc7ab96235ef462c2744fc988d1207c57 100644 |
--- a/runtime/lib/typeddata.dart |
+++ b/runtime/lib/typeddata.dart |
@@ -476,8 +476,8 @@ abstract class _TypedListBase { |
return result; |
} |
- List getRange(int start, int length) { |
- return sublist(start, start + length); |
+ Iterable getRange(int start, [int end]) { |
+ return IterableMixinWorkaround.getRangeList(this, start, end); |
} |
void setRange(int start, int length, List from, [int startFrom = 0]) { |