Permalink
Browse files

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

  • Loading branch information...
David Nolen David Nolen
David Nolen authored and David Nolen committed May 25, 2012
1 parent 7ccaf7f commit 9acabffc35a401fdec5b72c7d3033f3a0f79c397
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj/cljs/core.clj
View
@@ -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.