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
clj-kondo seems to not parse properly metadata on vars definition that contains the Conditional Reader macro. Depending on the syntax it can go from making the namespace unparsable and the var not identified, to just not being made available for clj-kondo analysis afterward.
repro
First case we get the following error: missing value for key #?@ (:clj [:deprecated "deprecation message"])
version
2021.09.25
platform
Using from
clojure-lsp
editor
Using from
clojure-lsp
+calva
problem
clj-kondo
seems to not parse properly metadata on vars definition that contains the Conditional Reader macro. Depending on the syntax it can go from making the namespace unparsable and the var not identified, to just not being made available forclj-kondo
analysis afterward.repro
missing value for key #?@ (:clj [:deprecated "deprecation message"])
expected behavior
I would expect the code to be parsed correctly and the var would be displayed as deprecated when used inside the
clj
environment, but not on thecljs
The text was updated successfully, but these errors were encountered: