-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix #239] Teach clean-ns about more metadata
The performance hit in considering literally every piece of metadata shouldn't be too detrimental so we'll just err on the side of caution for now.
- Loading branch information
Showing
5 changed files
with
57 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
(ns ^:md1 ^:md2 ^{:longhand "as well" :really? "yes" :ok true} ns-with-gen-class-methods-meta | ||
(ns ^:md1 ^:md2 ^{:longhand "as well" :really? "yes" :ok true} | ||
ns-with-gen-class-methods-meta | ||
(:gen-class | ||
:methods [^:static [foo [String] String] | ||
^{:test true} [bar [String] String] | ||
^{:other "text"} [baz [String] String]] | ||
:name Name) | ||
(:require [clojure.string :as s] | ||
[clojure.pprint :refer [fresh-line]])) | ||
(:require | ||
[clojure.string :as s] | ||
[clojure.pprint :refer [fresh-line]] | ||
[clojure.edn :as edn])) | ||
|
||
(defn useit | ||
[] | ||
(fresh-line)) | ||
|
||
(defn issue-239-metadata-based-protocol-extension [] | ||
;; https://github.com/clojure-emacs/refactor-nrepl/issues/239 | ||
^{`s/whatever-goes true} {}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters