| Index: sdk/lib/core/list.dart
|
| diff --git a/sdk/lib/core/list.dart b/sdk/lib/core/list.dart
|
| index 50a5f58901bea7d31a094ae93c6740a39fe4b5b7..7f4ab18dfdf63bcf9b125b670926e5703ba3a713 100644
|
| --- a/sdk/lib/core/list.dart
|
| +++ b/sdk/lib/core/list.dart
|
| @@ -82,9 +82,14 @@ abstract class List<E> implements Iterable<E>, EfficientLength {
|
| *
|
| * new List<int>.filled(3, 0); // [0, 0, 0]
|
| *
|
| - * The [length] must not be negative or null.
|
| + * The [length] must be a non-negative integer.
|
| + *
|
| + * If the list is growable, changing its length will not initialize new
|
| + * entries with [fill]. After being created and filled, the list is
|
| + * no different from any other growable or fixed-length list
|
| + * created using [List].
|
| */
|
| - external factory List.filled(int length, E fill);
|
| + external factory List.filled(int length, E fill, {bool growable: false});
|
|
|
| /**
|
| * Creates a list containing all [elements].
|
|
|