Closed stevejmp closed 2 years ago
In a project using Tongue, bumping the Clojure dep to the recent release, 1.11.0, should output no new warnings or exceptions when run.
1.11.0
WARNING: parse-long already refers to: #'clojure.core/parse-long in namespace: tongue.core, being replaced by: #'tongue.core/parse-long
Tongue 0.4.3 (2021-12-10) Clojure 1.11.0 Java 11.0.14 Leiningen 2.9.8
A new parse-long function was added to clojure.core in 1.11.0. The tongue.core/parse-long function now shadows this, resulting in the warning.
parse-long
clojure.core
tongue.core/parse-long
Workaround until Tongue requires Clojure 1.11: add (:refer-clojure :exclude [parse-long]) to the ns declaration in tongue.core.
(:refer-clojure :exclude [parse-long])
ns
tongue.core
PR incoming.
Expected
In a project using Tongue, bumping the Clojure dep to the recent release,
1.11.0
, should output no new warnings or exceptions when run.Actual
Steps to Reproduce
1.11.0
Versions
Tongue 0.4.3 (2021-12-10) Clojure 1.11.0 Java 11.0.14 Leiningen 2.9.8
More Info
A new
parse-long
function was added toclojure.core
in1.11.0
. Thetongue.core/parse-long
function now shadows this, resulting in the warning.Workaround until Tongue requires Clojure 1.11: add
(:refer-clojure :exclude [parse-long])
to thens
declaration intongue.core
.PR incoming.