Fork me on GitHub
#lsp
<
2022-03-30
>
lassemaatta06:03:14

is anyone else experiencing linting problems with reg-event-fx in re-frame & clojure-lsp 2022.03.26-18.47.08?

lassemaatta06:03:27

(rf/reg-event-fx
  ::foobar
  (fn [_ [_ foo]] ;; <- unused binding
    {:dispatch [:some.event/foo foo]})) ;; <- unresolved symbol

lassemaatta06:03:12

linting from the command line with clj-kondo v2022.03.09 doesn't report any issues with this

lassemaatta06:03:09

I filed this under https://github.com/clojure-lsp/clojure-lsp/issues/888 just in case this is an actual bug somewhere and not just me messing up my system somehow

borkdude06:03:03

This is a recent bug in clj-kondo and has been fixed by reverting a commit on master. I hope @UKFSJSM38 can do a new release of LSP

👍 1
ericdallo15:03:28

I'll do a release today which will include this fix

👍 2