| Index: compiler/lib/implementation/array.dart
|
| ===================================================================
|
| --- compiler/lib/implementation/array.dart (revision 402)
|
| +++ compiler/lib/implementation/array.dart (working copy)
|
| @@ -189,7 +189,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);
|
| }
|
|
|
| int indexOf(T element, int startIndex) {
|
|
|