We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cljr-clean-ns
cljr-clean-ns does not remove used import.
In a CLJS file, given the following:
(ns foo.bar (:import [goog.i18n NumberFormat] [goog.i18n.NumberFormat Format])) (defn money [n] (let [fmt (NumberFormat. Format.CURRENCY)] (.format fmt n)))
cljr-clean-ns removes the goog.i18n.NumberFormat Format import.
goog.i18n.NumberFormat Format
As above
clj-refactor 2.4.0-SNAPSHOT (package: 20171117.317), refactor-nrepl 2.4.0-SNAPSHOT
;; CIDER 0.16.0snapshot (package: 20171001.112), nREPL 0.2.13 ;; Clojure 1.9.0, Java 1.8.0_151
Leiningen 2.8.1
26.0.50
OS X 10.11.6 "El Capitan"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
cljr-clean-ns
does not remove used import.Actual behavior
In a CLJS file, given the following:
cljr-clean-ns
removes thegoog.i18n.NumberFormat Format
import.Steps to reproduce the problem
As above
Environment & Version information
clj-refactor.el version information
CIDER version information
Leiningen or Boot version
Leiningen 2.8.1
Emacs version
26.0.50
Operating system
OS X 10.11.6 "El Capitan"
The text was updated successfully, but these errors were encountered: