Skip to content
Browse files

* src/clj/cljs/core.clj: remove coercive-not= from caching-hash macro

  • Loading branch information...
1 parent 7ccaf7f commit 9acabffc35a401fdec5b72c7d3033f3a0f79c397 David Nolen committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/core.clj
View
2 src/clj/cljs/core.clj
@@ -244,7 +244,7 @@
;; internal
(defmacro caching-hash [coll hash-fn hash-key]
`(let [h# ~hash-key]
- (if (coercive-not= h# nil)
+ (if-not (nil? h#)
h#
(let [h# (~hash-fn ~coll)]
(set! ~hash-key h#)

0 comments on commit 9acabff

Please sign in to comment.
Something went wrong with that request. Please try again.