| Index: sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| diff --git a/sdk/lib/_internal/compiler/js_lib/core_patch.dart b/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| index cca8f160a01ff847e8ad9a73bec5d0c6764cc57c..a3f151312f3ba21692967657af164c8164aa9acb 100644
|
| --- a/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| +++ b/sdk/lib/_internal/compiler/js_lib/core_patch.dart
|
| @@ -279,8 +279,13 @@ class List<E> {
|
| if (growable) return list;
|
| return makeListFixedLength(list);
|
| }
|
| -}
|
|
|
| + @patch
|
| + factory List.unmodifiable(Iterable elements) {
|
| + List result = new List<E>.from(elements, growable: false);
|
| + return makeFixedListUnmodifiable(result);
|
| + }
|
| +}
|
|
|
| @patch
|
| class String {
|
|
|