| Index: sdk/lib/core/list.dart
|
| diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
|
| index ca02365f644c5aec320be5a900dad1525c3ed9eb..3dfccb0e0e4c6ccf81a2ab03a2c816cb9ee047f9 100644
|
| --- a/sdk/lib/core/list.dart
|
| +++ b/sdk/lib/core/list.dart
|
| @@ -193,7 +193,18 @@ abstract class List<E> implements Collection<E> {
|
| void clear();
|
|
|
| /**
|
| - * Removes the element at position[index] from the list.
|
| + * Inserts the element at position [index] in the list.
|
| + *
|
| + * This increases the length of the list by one and shifts all later elements
|
| + * towards the end of the list.
|
| + *
|
| + * It is an error if the [index] does not point inside the list or at the
|
| + * position after the last element.
|
| + */
|
| + void insert(int index, E element);
|
| +
|
| + /**
|
| + * Removes the element at position [index] from the list.
|
| *
|
| * This reduces the length of the list by one and moves all later elements
|
| * down by one position.
|
|
|