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
After upgrading to latest clj-refactor today, I started getting an error after invoking cljr-clean-ns in both CLJ and CLJS projects. The error is if: Don’t know how to create ISeq from: clojure.core$memoize$fn__6894.
Executing cljr-clean-ns in a CLJS/CLJC file should clean the namespace.
Actual behavior
An emacs error condition, with the following error in the Messages buffer:
if: Don’t know how to create ISeq from: clojure.core$memoize$fn__6894
Steps to reproduce the problem
cider-jack-in-cljs to a project, open a namespace and run cljr-clean-ns.
I also tried this on an old CLJ project and encountered the same error. It seemed like it may have run successfully the first time but not on subsequent invocations?
Environment & Version information
clj-refactor.el and refactor-nrepl version information
After upgrading to latest clj-refactor today, I started getting an error after invoking cljr-clean-ns in both CLJ and CLJS projects. The error is
if: Don’t know how to create ISeq from: clojure.core$memoize$fn__6894
.Given the timing of when this behavior appeared and the error message itself mentioning memoize, I'm a bit suspicious of unexpected side effects from https://github.com/clojure-emacs/refactor-nrepl/pull/361/files#diff-035aaed83c906822f30146de70e4bf30dea2ae463de4aed2927bd9d0e2383e55R25. However, I did also upgrade some other things today, so it's possible that's a red herring.
Expected behavior
Executing
cljr-clean-ns
in a CLJS/CLJC file should clean the namespace.Actual behavior
An emacs error condition, with the following error in the Messages buffer:
Steps to reproduce the problem
cider-jack-in-cljs
to a project, open a namespace and runcljr-clean-ns
.I also tried this on an old CLJ project and encountered the same error. It seemed like it may have run successfully the first time but not on subsequent invocations?
Environment & Version information
clj-refactor.el and refactor-nrepl version information
clj-refactor 3.3.0 (package: 20220207.2352), refactor-nrepl 3.3.0
CIDER version information
For CLJS
For CLJ:
Emacs version
GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-02-07
Operating system
Ubuntu Linux 20.04
The text was updated successfully, but these errors were encountered: