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

cljr-move-form throw IllegalAccessError #433

Open
FreekPaans opened this issue Jan 24, 2019 · 0 comments
Open

cljr-move-form throw IllegalAccessError #433

FreekPaans opened this issue Jan 24, 2019 · 0 comments
Labels

Comments

@FreekPaans
Copy link

Whenever I use cljr-move-form I get a java.lang.IllegalAccessError saying that the moved form cannot be found. The problem seems to be that the def of the moved function is not evaluated in the new namespace, which causes the :refer in the current namespace to fail.

Expected behavior

cljr-move-form works without an error.

Actual behavior

cljr-move-form throws java.lang.IllegalAccessError.

Steps to reproduce the problem

Move a function from one namespace to another.

Environment & Version information

clj-refactor.el version information

clj-refactor 2.4.0, refactor-nrepl 2.4.0

CIDER version information

;; CIDER 0.20.0 (Oslo), nREPL 0.5.3
;; Clojure 1.9.0, Java 1.8.0_202-ea

Leiningen or Boot version

Lein 2.8.3

Emacs version

GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-3

Operating system

Mac OS X High Sierre 10.13.1

@expez expez added the bug label Jan 24, 2019
@vemv vemv pinned this issue Mar 15, 2022
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

2 participants