Curious behaviour when requiring clojure.tools.cli

2021-06-14 Thread Simon Brooke
I've discovered a weird behaviour which I don't understand and can't seem to fix - it's probably some obvious mistake of my own. Brief background, I'm trying to integrate cloverage with codox, so that I can show test coverage reports on my documentation pages. Both of these are established, so

Re: Curious behaviour when requiring clojure.tools.cli

2021-06-14 Thread Thomas Heller
clojure.string/starts-with? was added in Clojure 1.8.0, I see 1.7.0 in the project.clj? See https://github.com/clojure/clojure/blob/b1b88dd25373a86e41310a525a21b497799dbbf2/src/clj/clojure/string.clj#L362 What exactly else is going on I don't know but it all starts from the wrong Clojure versi

Re: Curious behaviour when requiring clojure.tools.cli

2021-06-14 Thread Simon Brooke
Thank you, that was the right answer (and I would not have thought of it myself). Codox was on Clojure 1.7.0, but it was also on org.clojure/tools.namespace 0.2.11. Cloverage is on 1.10.1 and 1.0.0 respectively, and if I bring the Codox versions into line with the Cloverage versions, it all wor