Index: lib/coreimpl/hash_map_set.dart |
diff --git a/lib/coreimpl/hash_map_set.dart b/lib/coreimpl/hash_map_set.dart |
index cb723a553eb2b33d08072bed7edc232d70cc549e..daa5d064dbf0bd29667a8dad6ad552ac23118b4e 100644 |
--- a/lib/coreimpl/hash_map_set.dart |
+++ b/lib/coreimpl/hash_map_set.dart |
@@ -70,7 +70,7 @@ class HashMapImplementation<K, V> implements HashMap<K, V> { |
int _probeForAdding(K key) { |
if (key == null) throw const NullPointerException(); |
- int hash = _firstProbe(key.hashCode(), _keys.length); |
+ int hash = _firstProbe(key.hashCode, _keys.length); |
int numberOfProbes = 1; |
int initialHash = hash; |
// insertionIndex points to a slot where a key was deleted. |
@@ -104,7 +104,7 @@ class HashMapImplementation<K, V> implements HashMap<K, V> { |
int _probeForLookup(K key) { |
if (key == null) throw const NullPointerException(); |
- int hash = _firstProbe(key.hashCode(), _keys.length); |
+ int hash = _firstProbe(key.hashCode, _keys.length); |
int numberOfProbes = 1; |
int initialHash = hash; |
while (true) { |