| Index: pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart
|
| diff --git a/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart b/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart
|
| index 73bd6e5819ee2fef4068fdba65cc12fa8a88a4b5..ba805ac223931a35673c47f7f9724a40979052af 100644
|
| --- a/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart
|
| +++ b/pkg/dev_compiler/tool/input_sdk/patch/core_patch.dart
|
| @@ -331,14 +331,15 @@ class List<E> {
|
| }
|
|
|
| @patch
|
| - factory List.filled(int length, E fill) {
|
| + factory List.filled(int length, E fill, {bool growable: true}) {
|
| List<E> result = new List<E>(length);
|
| if (length != 0 && fill != null) {
|
| for (int i = 0; i < result.length; i++) {
|
| result[i] = fill;
|
| }
|
| }
|
| - return result;
|
| + if (growable) return result;
|
| + return makeListFixedLength/*<E>*/(result);
|
| }
|
|
|
| @patch
|
|
|