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 should keep all namespace metadata.
cljr-clean-ns
It only keeps the first piece of metadata.
The following namespace:
(ns ^:a ^:b ^:c test-record.core "My beautiful ns." (:require [clojure.pprint :refer [pprint]]))
Becomes
(ns ^:a test-record.core "My beautiful ns.")
clj-refactor 2.3.0-SNAPSHOT (package: 20161223.1457), refactor-nrepl 2.3.0-SNAPSHOT
;; CIDER 0.15.0snapshot (package: 20170104.1330), nREPL 0.2.12 ;; Clojure 1.8.0, Java 1.8.0_112
Leiningen 2.7.1 on Java 1.8.0_112 Java HotSpot(TM) 64-Bit Server VM
GNU Emacs 25.1.1 (x86_64-apple-darwin16.3.0, NS appkit-1504.76 Version 10.12.2 (Build 16C67)) of 2017-01-06
macOS Sierra 10.12.2 (16C67)
The text was updated successfully, but these errors were encountered:
Related issue: #223
Sorry, something went wrong.
fixed with clojure-emacs/refactor-nrepl/abadad9c68d5888ef47ae679c74b53a6d39616cf
on clojars
No branches or pull requests
Expected behavior
cljr-clean-ns
should keep all namespace metadata.Actual behavior
It only keeps the first piece of metadata.
Steps to reproduce the problem
The following namespace:
Becomes
Environment & Version information
clj-refactor.el version information
clj-refactor 2.3.0-SNAPSHOT (package: 20161223.1457), refactor-nrepl 2.3.0-SNAPSHOT
CIDER version information
Leiningen or Boot version
Leiningen 2.7.1 on Java 1.8.0_112 Java HotSpot(TM) 64-Bit Server VM
Emacs version
GNU Emacs 25.1.1 (x86_64-apple-darwin16.3.0, NS appkit-1504.76 Version 10.12.2 (Build 16C67)) of 2017-01-06
Operating system
macOS Sierra 10.12.2 (16C67)
The text was updated successfully, but these errors were encountered: