You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In clojurescript, :require :as with npm libraries works a little differently from jvm clojure's :require :as. This can lead to cljr-clean-ns removing requires that are needed. See also clojure-emacs/clj-refactor.el#476
Expected behavior
In both of the following cases, the require statement is needed, and I would expect cljr-clean-ns to not remove it.
Issue
In clojurescript,
:require :as
with npm libraries works a little differently from jvm clojure's:require :as
. This can lead tocljr-clean-ns
removing requires that are needed. See also clojure-emacs/clj-refactor.el#476Expected behavior
In both of the following cases, the require statement is needed, and I would expect
cljr-clean-ns
to not remove it.Actual behavior
cljr-clean-ns
removes the require in both cases.Steps to reproduce the problem
Run
cljr-clean-ns
on either of the above sample code.Environment & Version information
The text was updated successfully, but these errors were encountered: