| Index: runtime/lib/array_patch.dart
|
| diff --git a/runtime/lib/array_patch.dart b/runtime/lib/array_patch.dart
|
| index 109d951fa34af7987ce8d53060ae0990007a3b52..da5bf73839a3c447543a694c44f5e367c7f9e662 100644
|
| --- a/runtime/lib/array_patch.dart
|
| +++ b/runtime/lib/array_patch.dart
|
| @@ -27,21 +27,6 @@ patch class List<E> {
|
| return result;
|
| }
|
|
|
| - /* patch */ factory List.filled(int length, E fill) {
|
| - if ((length is! int) || (length < 0)) {
|
| - _throwArgumentError(length);
|
| - }
|
| - _GrowableObjectArray<E> result =
|
| - new _GrowableObjectArray<E>.withCapacity(length < 4 ? 4 : length);
|
| - result.length = length;
|
| - if (fill != null) {
|
| - for (int i = 0; i < length; i++) {
|
| - result[i] = fill;
|
| - }
|
| - }
|
| - return result;
|
| - }
|
| -
|
| // Factory constructing a mutable List from a parser generated List literal.
|
| // [elements] contains elements that are already type checked.
|
| factory List._fromLiteral(List elements) {
|
|
|