You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Clojure/Script 1.11, you will get function redefinition warnings because cljs-http depends on noencore, which defines parse-long and parse-double functions which are now included in clojure.core.
------ WARNING #1 - :redef -----------------------------------------------------
Resource: no/en/core.cljc:131:1
--------------------------------------------------------------------------------
128 | [s]
129 | (parse-number s #(#?(:clj Integer/parseInt :cljs js/parseInt) %1)))
130 |
131 | (defn parse-long
-------^------------------------------------------------------------------------
parse-long already refers to: cljs.core/parse-long being replaced by: no.en.core/parse-long
--------------------------------------------------------------------------------
132 | "Parse `s` as a long number."
133 | [s]
134 | (parse-number s #(#?(:clj Long/parseLong :cljs js/parseInt) %1)))
135 |
--------------------------------------------------------------------------------
------ WARNING #2 - :redef -----------------------------------------------------
Resource: no/en/core.cljc:136:1
--------------------------------------------------------------------------------
133 | [s]
134 | (parse-number s #(#?(:clj Long/parseLong :cljs js/parseInt) %1)))
135 |
136 | (defn parse-double
-------^------------------------------------------------------------------------
parse-double already refers to: cljs.core/parse-double being replaced by: no.en.core/parse-double
--------------------------------------------------------------------------------
137 | "Parse `s` as a double number."
138 | [s]
139 | (parse-number s #(#?(:clj Double/parseDouble :cljs js/parseFloat) %1)))
140 |
--------------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
When using Clojure/Script 1.11, you will get function redefinition warnings because
cljs-http
depends onnoencore
, which definesparse-long
andparse-double
functions which are now included inclojure.core
.The text was updated successfully, but these errors were encountered: