Skip to content

Commit

Permalink
fix #702: require cljs.analyzer.api for copy-ns
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Mar 23, 2022
1 parent b833ad0 commit b635311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sci/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@

(macros/deftime
(def ^:private cljs-ns-publics
(try (resolve 'cljs.analyzer.api/ns-publics)
(try (require 'cljs.analyzer.api)
(resolve 'cljs.analyzer.api/ns-publics)
(catch #?(:clj Exception
:cljs :default) _ nil)))
(defmacro copy-ns
Expand Down

0 comments on commit b635311

Please sign in to comment.