| Index: runtime/lib/array.dart
|
| diff --git a/runtime/lib/array.dart b/runtime/lib/array.dart
|
| index 688cfb5e02380e9ee38e4b5c0a10da678da99c7c..c8ff88869162739b9c8ab4efd066152ae15da192 100644
|
| --- a/runtime/lib/array.dart
|
| +++ b/runtime/lib/array.dart
|
| @@ -235,6 +235,10 @@ class _ObjectArray<E> implements List<E> {
|
| Set<E> toSet() {
|
| return new Set<E>.from(this);
|
| }
|
| +
|
| + Map<int, E> asMap() {
|
| + return IterableMixinWorkaround.asMapList(this);
|
| + }
|
| }
|
|
|
|
|
| @@ -474,6 +478,10 @@ class _ImmutableArray<E> implements List<E> {
|
| Set<E> toSet() {
|
| return new Set<E>.from(this);
|
| }
|
| +
|
| + Map<int, E> asMap() {
|
| + return IterableMixinWorkaround.asMapList(this);
|
| + }
|
| }
|
|
|
|
|
|
|