Index: runtime/lib/growable_array.dart |
=================================================================== |
--- runtime/lib/growable_array.dart (revision 402) |
+++ runtime/lib/growable_array.dart (working copy) |
@@ -42,7 +42,9 @@ |
} |
List<T> getRange(int start, int length) { |
- throw const NotImplementedException(); |
+ if (length == 0) return []; |
+ Arrays.rangeCheck(this, start, length); |
+ return new List<T>.fromList(this, start, start + length); |
} |
// The length of this growable array. It is always less than the |