nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Recover `recover_with`
[nit.git]
/
lib
/
core
/
collection
/
hash_collection.nit
diff --git
a/lib/core/collection/hash_collection.nit
b/lib/core/collection/hash_collection.nit
index
c049332
..
6546b19
100644
(file)
--- a/
lib/core/collection/hash_collection.nit
+++ b/
lib/core/collection/hash_collection.nit
@@
-273,7
+273,7
@@
class HashMap[K, V]
# Build a list filled with the items of `coll`.
init from(coll: Map[K, V]) do
init
- recover_with(coll)
+ add_all(coll)
end
redef var keys: RemovableCollection[K] = new HashMapKeys[K, V](self) is lazy