| Index: sdk/lib/core/list.dart
|
| diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
|
| index 470d8ce80171fd92ca0cfbf07b14d5cea7177ff5..8978978e68292b55653aee64b8b60044ac92d85d 100644
|
| --- a/sdk/lib/core/list.dart
|
| +++ b/sdk/lib/core/list.dart
|
| @@ -264,7 +264,7 @@ abstract class List<E> implements Iterable<E> {
|
|
|
| /**
|
| * Copies the elements of [iterable], skipping the [skipCount] first elements
|
| - * into the range [start] - [end] of `this`.
|
| + * into the range [start] - [end] (excluding) of `this`.
|
| *
|
| * If [start] equals [end] and represent a legal range, this method has
|
| * no effect.
|
| @@ -278,29 +278,12 @@ abstract class List<E> implements Iterable<E> {
|
| void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]);
|
|
|
| /**
|
| - * Removes [length] elements from the list, beginning at [start].
|
| - * Throws an [UnsupportedError] if the list is
|
| - * not extendable.
|
| - * If [length] is 0, this method does not do anything.
|
| - * Throws an [ArgumentError] if [length] is negative.
|
| - * Throws an [RangeError] if [start] or
|
| - * [:start + length: - 1] are out of range.
|
| - */
|
| - void removeRange(int start, int length);
|
| -
|
| - /**
|
| - * Inserts a new range into the list, starting from [start] to
|
| - * [:start + length - 1:]. The entries are filled with [fill].
|
| - * Throws an [UnsupportedError] if the list is
|
| - * not extendable.
|
| - * If [length] is 0, this method does not do anything.
|
| - * If [start] is the length of the list, this method inserts the
|
| - * range at the end of the list.
|
| - * Throws an [ArgumentError] if [length] is negative.
|
| - * Throws an [RangeError] if [start] is negative or if
|
| - * [start] is greater than the length of the list.
|
| + * Removes the elements in the range [start]..[end] (excluding).
|
| + *
|
| + * It is an error if [start]..[end] is not a valid range pointing into the
|
| + * `this`.
|
| */
|
| - void insertRange(int start, int length, [E fill]);
|
| + void removeRange(int start, int end);
|
|
|
| /**
|
| * Returns an unmodifiable [Map] view of `this`.
|
|
|