Skip to content

Commit

Permalink
fix invocation of PQ
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Jul 22, 2024
1 parent f2c3798 commit 09db01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@
(defn- make-tree
[lib-map]
(let [{roots false, nonroots true} (group-by #(-> % val :dependents boolean) lib-map)]
(loop [q (into (PersistentQueue/EMPTY) roots)
(loop [q (into PersistentQueue/EMPTY roots)
remaining nonroots
tree {}]
(let [[lib coord :as node] (peek q)
Expand Down

0 comments on commit 09db01b

Please sign in to comment.