so what's up w/ calva and clj-kondo ignoring (use..
statements and throwing out all unresolved symbols?
I ran clj-kondo --parallel --lint "$(lein classpath)"
and that seemed to generate a cache for most things, but any symbol that comes out of a use
is not picked up and is in red as unknown
@clypto This seems to work for me:
(use 'clojure.test)
(is 1)
Do you have a repro?it's closed source, but looks like I have a handful of use
and a few :refer :all
that result in unknown symbols... there's nothing special about them - mainly a bunch of pure functions for logging or string manipulation
one from [cheshire.core :refer :all]
it's a lein project in calva if that helps
[cheshire "5.5.0"]
Lein isn't part of the picture. clj-kondo runs in a separate process, using only static analysis. I think that the only thing that would really help is a repro.
@clypto There's a related open issue about this: https://github.com/borkdude/clj-kondo/issues/1010 I'll look into this soon, maybe it will fix your issue as well. The best for now is to get rid of use and refer :all altogether, which is best practice anyway