Share your thoughts in the 2024 State of Clojure Survey!

Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.namespace by

`
user> (refresh)
Exception Circular dependency between com.example.foo and com.example.bar clojure.tools.namespace.dependency.MapDependencyGraph (dependency.clj:74)
user> (refresh)
StackOverflowError clojure.lang.PersistentHashMap$BitmapIndexedNode.index (PersistentHashMap.java:576)
user> (clojure.repl/pst)
StackOverflowError

clojure.lang.PersistentHashMap$BitmapIndexedNode.index (PersistentHashMap.java:576)
clojure.lang.PersistentHashMap$BitmapIndexedNode.find (PersistentHashMap.java:676)
clojure.lang.PersistentHashMap$ArrayNode.find (PersistentHashMap.java:396)
clojure.lang.PersistentHashMap.valAt (PersistentHashMap.java:152)
clojure.lang.PersistentHashMap.valAt (PersistentHashMap.java:156)
clojure.lang.RT.get (RT.java:645)
clojure.tools.namespace.dependency/transitive (dependency.clj:52)
clojure.tools.namespace.dependency/transitive/fn--7043 (dependency.clj:51)
clojure.core.protocols/fn--6022 (protocols.clj:79)
clojure.core.protocols/fn--5979/G--5974--5992 (protocols.clj:13)
clojure.core/reduce (core.clj:6177)
clojure.tools.namespace.dependency/transitive (dependency.clj:52)

nil
`

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/TNS-7 (reported by stuart.sierra)
...