Skip to content

cljr-move-form throw IllegalAccessError #433

Open
@FreekPaans

Description

@FreekPaans

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions