Skip to content
New issue

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

Only first metadata is preserved #362

Closed
jsab opened this issue Feb 2, 2017 · 3 comments
Closed

Only first metadata is preserved #362

jsab opened this issue Feb 2, 2017 · 3 comments
Labels
Milestone

Comments

@jsab
Copy link

jsab commented Feb 2, 2017

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:

(ns ^:a ^:b ^:c test-record.core
  "My beautiful ns."
  (:require [clojure.pprint :refer [pprint]]))

Becomes

(ns ^:a test-record.core
  "My beautiful ns.")

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

;; CIDER 0.15.0snapshot (package: 20170104.1330), nREPL 0.2.12
;; Clojure 1.8.0, Java 1.8.0_112

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)

@jsab
Copy link
Author

jsab commented Feb 2, 2017

Related issue: #223

@expez expez added the bug label Feb 2, 2017
@benedekfazekas benedekfazekas added this to the 2.3.0 milestone Apr 30, 2017
@benedekfazekas
Copy link
Member

fixed with clojure-emacs/refactor-nrepl/abadad9c68d5888ef47ae679c74b53a6d39616cf

@benedekfazekas
Copy link
Member

on clojars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants