Skip to content

Commit 28a7440

Browse files
author
dnolen
committed
remove duped circular lib logic
1 parent 5724f72 commit 28a7440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@
16541654
(binding [*cljs-dep-set* (vary-meta (conj *cljs-dep-set* lib) update-in [:dep-path] conj lib)]
16551655
(assert (every? #(not (contains? *cljs-dep-set* %)) deps)
16561656
(str "Circular dependency detected, "
1657-
(apply str (interpose " -> " (conj (-> *cljs-dep-set* meta :dep-path) lib)))))
1657+
(apply str (interpose " -> " (-> *cljs-dep-set* meta :dep-path)))))
16581658
(doseq [dep deps]
16591659
(when-not (or (not-empty (get-in compiler [::namespaces dep :defs]))
16601660
(contains? (:js-dependency-index compiler) (name dep))

0 commit comments

Comments
 (0)