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
problem dosync blocks wrap their body in a (fn [], causing calls to recur to jump there instead of the outer loop/fn form.
clj-kondo does not take this into account and analyses the arity of the outer form.
version
clj-kondo v2020.11.07
platform
native
editor
Emacs, flycheck
problem
dosync
blocks wrap their body in a(fn []
, causing calls torecur
to jump there instead of the outer loop/fn form.clj-kondo does not take this into account and analyses the arity of the outer form.
repro
output:
config
not related
expected behavior
dosync
blocks should be analysed with a ctx of {:recur-arity 0}Additional context: calling macroexpand on the dosync block produces:
The text was updated successfully, but these errors were encountered: