| Index: runtime/lib/growable_array.dart
|
| diff --git a/runtime/lib/growable_array.dart b/runtime/lib/growable_array.dart
|
| index 5cb8a021d4ffc6f4eabb78a7ed18896e5279bfd7..abdbb9d4959258209678f6b858f8049ebe32c66f 100644
|
| --- a/runtime/lib/growable_array.dart
|
| +++ b/runtime/lib/growable_array.dart
|
| @@ -8,6 +8,17 @@ class GrowableObjectArray<T> implements List<T> {
|
| "GrowableObjectArray can only be allocated by the VM");
|
| }
|
|
|
| + E removeAt(int index) {
|
| + E result = this[index];
|
| + Arrays.copy(this,
|
| + index + 1,
|
| + this,
|
| + index,
|
| + this.length - index - 1);
|
| + this.length = this.length - 1;
|
| + return result;
|
| + }
|
| +
|
| void setRange(int start, int length, List<T> from, [int startFrom = 0]) {
|
| if (length < 0) {
|
| throw new IllegalArgumentException("negative length $length");
|
|
|