Index: sdk/lib/_internal/compiler/js_lib/constant_map.dart |
diff --git a/sdk/lib/_internal/compiler/js_lib/constant_map.dart b/sdk/lib/_internal/compiler/js_lib/constant_map.dart |
index 22b513c9bf4f2bae1b9077185ac9bb5dcdad3d21..181e522ef242121bcb5bcc727e31beaac3b12359 100644 |
--- a/sdk/lib/_internal/compiler/js_lib/constant_map.dart |
+++ b/sdk/lib/_internal/compiler/js_lib/constant_map.dart |
@@ -97,6 +97,8 @@ class _ConstantMapKeyIterable<K> extends IterableBase<K> { |
_ConstantMapKeyIterable(this._map); |
Iterator<K> get iterator => _map._keys.iterator; |
+ |
+ int get length => _map._keys.length; |
} |
class GeneralConstantMap<K, V> extends ConstantMap<K, V> { |