Clojure 2024 状态调查!中分享您的想法。

欢迎!请查看关于页面以了解更多关于此如何工作的信息。

0
tools.namespace

`
user> (refresh)
异常 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 个答案

0
参考: https://clojure.atlassian.net/browse/TNS-7 (由 stuart.sierra 报告)
...