-
Notifications
You must be signed in to change notification settings - Fork 112
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
Error with suggest_libspecs #556
Comments
I've just confirmed that the feature works as expected when I manually override the files in |
Thanks for the report! What's your value of Does it get fixed if you remove |
Indeed, when I remove |
Thanks! Feel free to give it a go @dgtized |
Yea I'm seeing that now. I believe that's on the parsing side in the middleware given it's a java stacktrace though. The clj-refactor client is sending across "preferred-aliases" with
See https://github.com/clojure-emacs/clj-refactor.el/blob/master/clj-refactor.el#L2032. So I suspect the failure here is that the middleware is having difficulty in parse-preferred-aliases. It might be that Looking through the suggest_libspec tests it looks like they may all assume a single value for So short term, it seems reasonable to revert to the old syntax here until the middleware can parse |
Thanks much for the accurate analysis @dgtized ! I went ahead and fixed the middleware. I've cut a new clj-refactor.el release, to be melpa-visible within the next few hours. |
Hi, thanks for this amazing package!
I've refreshed my spacemacs packages and I see an error message each time I type a namespace alias that is not already in the namespace declaration (for example, I will see the error if I type
str/
and the[clojure.string :as str]
is not in thens
form).Expected behavior
Adds the correct missing libspec.
Actual behavior
Error with the following stacktrace:
Steps to reproduce the problem
Environment & Version information
clj-refactor.el version information
3.11.1
CIDER version information
Include here the version string displayed when
CIDER's REPL is launched. Here's an example:
This was injected when jacking in
Leiningen or Boot version
Clojure CLI version 1.11.1.1413
Emacs version
GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars)
Operating system
Linux NixOS 23.11
The text was updated successfully, but these errors were encountered: