cgrand / xforms

Extra transducers and reducing fns for Clojure(script)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLJS compilation warning

den1k opened this issue · comments

Version: 0.19.3

Assuming this will break in cljs

------ WARNING #1 - :undeclared-var --------------------------------------------
 Resource: net/cgrand/xforms.cljc:134:20
--------------------------------------------------------------------------------
 131 | ;; Workaround clojure.core/satisfies? being slow in Clojure
 132 | ;; see https://ask.clojure.org/index.php/3304/make-satisfies-as-fast-as-a-protocol-method-call
 133 | #?(:cljs
 134 |    (def satisfies? core/satisfies?)
--------------------------^-----------------------------------------------------
 Can't take value of macro cljs.core/satisfies?

That's a good catch, thank you. Do you have a minimal repro for tgis by any chance? I don't have cljs set up and would like to make sure I don't make it worse.