Skip to content

Commit

Permalink
* src/cljs/cljs/core.cljs: remove truth_ call in PHM
Browse files Browse the repository at this point in the history
  • Loading branch information
David Nolen authored and David Nolen committed Jun 4, 2012
1 parent 4586ceb commit a212624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/cljs/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -4627,7 +4627,7 @@ reduces them without incurring seq initialization"
(.inode-assoc 0 (hash k) k v added-leaf?))]
(if (identical? new-root root)
coll
(PersistentHashMap. meta (if (aget added-leaf? 0) (inc cnt) cnt) new-root has-nil? nil-val nil)))))
(PersistentHashMap. meta (if (true? (aget added-leaf? 0)) (inc cnt) cnt) new-root has-nil? nil-val nil)))))

(-contains-key? [coll k]
(cond (nil? k) has-nil?
Expand Down

0 comments on commit a212624

Please sign in to comment.