(defn- access-g
[g cur]
(get g cur #?(:clj Long/MAX_VALUE
:cljs (goog.math.Long/getMaxValue))))
This usage seems to be throwing a warning, though to be honest I'm not entirely sure why. If I try to require the same in the figwheel REPL then evaluate the above, I get the same warning. However if I do the following:
(require '[goog.math.Long :refer [getMaxValue]])
it works fine.
My question is, is this something which even needs fixing, or can the said warning just be ignored or suppressed somehow?
I'm trying to use editscript in a figwheel-main ClojureScript environment, however each time I try:
I get the following warning message:
I've traced the error to
src/editscript/diff/a_star.cljc
, specifically toand further down where it is used:
This usage seems to be throwing a warning, though to be honest I'm not entirely sure why. If I try to require the same in the figwheel REPL then evaluate the above, I get the same warning. However if I do the following:
it works fine.
My question is, is this something which even needs fixing, or can the said warning just be ignored or suppressed somehow?