I think it's quite likely that you have multiple copies of tools.analyzer 
(and possibly other libs) on your classpath. Can you take a look at your 
deps and see if that might be the case?

A particular thing to watch for is if any dep is AOT compiled and 
transitively pulled in a dependency lib somehow.

"lein deps :tree" is a good place to start, but it doesn't tell you what's 
actually inside the jars. There used to be a Maven plugin that would track 
down multiple class definitions across the dependency classpath, can't 
remember what it was called. It would be cool if such a thing also existed 
for Lein that would find multiple .clj/.cljc/.class files for a ns on the 
classpath. Or maybe someone has already written that, don't know.


On Wednesday, June 8, 2016 at 5:13:20 PM UTC-5, Rangel Spasov wrote:
>
> Hey guys - getting this compiler exception when I tried alpha 5 (up to 
> alpha 4 it was all good).
>
> WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: 
> clojure.tools.analyzer.utils, being replaced by: 
> #'clojure.tools.analyzer.utils/boolean?
>
> WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: 
> clojure.tools.analyzer, being replaced by: 
> #'clojure.tools.analyzer.utils/boolean?
>
> #error {
>
>  :cause Attempting to call unbound fn: 
> #'clojure.tools.analyzer.utils/boolean?
>
>  :via
>
>  [{:type clojure.lang.Compiler$CompilerException
>
>    :message java.lang.IllegalStateException: Attempting to call unbound 
> fn: #'clojure.tools.analyzer.utils/boolean?, 
> compiling:(manifold/stream/async.clj:62:16)
>
>    :at [clojure.lang.Compiler analyzeSeq Compiler.java 6890]}
>
>   {:type java.lang.IllegalStateException
>
>    :message Attempting to call unbound fn: 
> #'clojure.tools.analyzer.utils/boolean?
>
>    :at [clojure.lang.Var$Unbound throwArity Var.java 43]}]
>
>  :trace
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to