Skip to content

(void-function key) #35

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

Closed
vemv opened this issue Oct 12, 2021 · 5 comments
Closed

(void-function key) #35

vemv opened this issue Oct 12, 2021 · 5 comments

Comments

@vemv
Copy link
Member

vemv commented Oct 12, 2021

This is an error report I worked out with @lambdam privately.

He's facing the following when performing clj-refactor.el cljr-slash:

Debugger entered--Lisp error: (void-function key)
  key((inst uuid))
  parseclj-alist-merge(((inst . #f(compiled-function (s) #<bytecode 0x19c8fd5>)) (uuid . #f(compiled-function (s) #<bytecode 0x19c8fe1>))) nil)
  parseedn-reduce-branch((ig-repl ((:token-type . :lbrace) (:form . "{") (:pos . 7)) :clj ((:token-type . :lbrace) (:form . "{") (:pos . 1))) ((:token-type . :lparen) (:form . "(") (:pos . 16)) (integrant\.repl) ((:tag-readers)))
  parseclj--reduce-coll((integrant\.repl ((:token-type . :lparen) (:form . "(") (:pos . 16)) ig-repl ((:token-type . :lbrace) (:form . "{") (:pos . 7)) :clj ((:token-type . :lbrace) (:form . "{") (:pos . 1))) ((:token-type . :rparen) (:form . ")") (:pos . 31)) parseedn-reduce-branch ((:tag-readers)))
  parseclj-parser(parseedn-reduce-leaf parseedn-reduce-branch ((:tag-readers)))
  parseedn-read(nil)
  parseedn-read-str("{:clj {ig-repl (integrant.repl), d (datomic.api)}, :cljs {}}")
  cljr--call-middleware-for-namespace-aliases()
  eval((cljr--call-middleware-for-namespace-aliases) nil)
  eval-expression((cljr--call-middleware-for-namespace-aliases) nil nil 127)
  funcall-interactively(eval-expression (cljr--call-middleware-for-namespace-aliases) nil nil 127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

This resonates with various error reports so it would be quite crucial to come up with a fix.

@vemv
Copy link
Member Author

vemv commented Oct 12, 2021

parseclj: 20210930.540
parseedn: 20210930.1615

@plexus
Copy link
Collaborator

plexus commented Oct 13, 2021

See the discussion here @vemv clojure-emacs/cider#2967, this has been fixed as part of #34. It would appear that seq-doseq, like cl-case, is broken on certain emacs builds.

@plexus
Copy link
Collaborator

plexus commented Oct 13, 2021

Released in parseclj / parseedn v1.0.6

@vemv
Copy link
Member Author

vemv commented Oct 13, 2021

Thanks! I had an eye on that thread however was confused by the lack of a recent commit over here.

Kudos for getting to this so quickly.

@vemv
Copy link
Member Author

vemv commented Oct 13, 2021

@lambdam confirms this fixed it 🍵☕️

@vemv vemv closed this as completed Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants