clj-kondo

Kirill Chernyshov 2025-07-28T15:15:54.771909Z

After latest release I'm seeing an error error: Expected: symbol or string or keyword, received: var. for innocent (symbol #'some-var) expression. I checked changelog but can't say there is something closely related to it. Reproducible from cli: echo "(def foo 42) (symbol #'foo)" | clj-kondo --lint -

✅ 1
borkdude 2025-07-28T15:17:03.725309Z

Thanks for the report. Can you make a Github issue?

Kirill Chernyshov 2025-07-28T15:19:52.373369Z

sure

borkdude 2025-07-28T15:20:24.815749Z

I introduced a new :var type into the type system, but apparently the type definition for symbol wasn't updated. Should be an easy fix though

Kirill Chernyshov 2025-07-28T15:24:26.262439Z

https://github.com/clj-kondo/clj-kondo/issues/2588

🙏 1
Kirill Chernyshov 2025-07-28T15:24:37.086609Z

thanks!