Skip to content

Commit 81144f6

Browse files
committed
CLJS-2668: Unit tests failing as of CLJS-2667
Remove bad precondition
1 parent fdc2d8d commit 81144f6

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/main/clojure/cljs/analyzer.cljc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,8 +2095,6 @@
20952095
(defn foreign-dep?
20962096
#?(:cljs {:tag boolean})
20972097
[dep]
2098-
(assert (symbol? dep)
2099-
(str "cljs.analyzer/foreign-dep? expected symbol got " (pr-str dep)))
21002098
(let [js-index (:js-dependency-index @env/*compiler*)]
21012099
(if-some [[_ {:keys [foreign]}] (find js-index (name dep))]
21022100
foreign

0 commit comments

Comments
 (0)