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
When using "/" in a file using in-ns, clr-refactor should either give up, or should add requires to the namespace file.
Actual behavior
We get a illegal declaration like
(in-ns 'bob (:require [fred])
Steps to reproduce the problem
Use the slash command in a namespace with in-ns.
The problem comes about because cljr-slash uses clojure-find-ns. This actually finds either (ns) or (in-ns) forms. The refactoring is suitable for only the former.
Environment & Version information
Emacs 25.2 (trunk)
CIDER/CLojure(trunk)
clj-refactor.el version information
2.2.0
CIDER version information
Trunk``
Leiningen or Boot version
Emacs version
Operating system
Ubuntu
The text was updated successfully, but these errors were encountered:
Expected behavior
When using "/" in a file using
in-ns
, clr-refactor should either give up, or should add requires to the namespace file.Actual behavior
We get a illegal declaration like
Steps to reproduce the problem
Use the slash command in a namespace with in-ns.
The problem comes about because
cljr-slash
usesclojure-find-ns
. This actually finds either (ns) or (in-ns) forms. The refactoring is suitable for only the former.Environment & Version information
Emacs 25.2 (trunk)
CIDER/CLojure(trunk)
clj-refactor.el version information
2.2.0
CIDER version information
Trunk``
Leiningen or Boot version
Emacs version
Operating system
Ubuntu
The text was updated successfully, but these errors were encountered: