Skip to content

Commit a3a2422

Browse files
anmonteiroswannodette
authored andcommitted
CLJS-1936: cljs.analyzer declares vars which are only used in Clojure
1 parent 025dd9d commit a3a2422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/clojure/cljs/analyzer.cljc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@
18271827
{:env env :op :set! :form form :target targetexpr :val valexpr
18281828
:children [targetexpr valexpr]})))))
18291829

1830-
(declare analyze-file)
1830+
#?(:clj (declare analyze-file))
18311831

18321832
#?(:clj
18331833
(defn locate-src
@@ -2167,7 +2167,7 @@
21672167
{:import import-map
21682168
:require import-map}))
21692169

2170-
(declare parse-ns)
2170+
#?(:clj (declare parse-ns))
21712171

21722172
(defn macro-autoload-ns?
21732173
"Given a spec form check whether the spec namespace requires a macro file

0 commit comments

Comments
 (0)