inspector icon indicating copy to clipboard operation
inspector copied to clipboard

Analyze vars (e.g. created by macros) to prevent false positives

Open borkdude opened this issue 4 years ago • 1 comments

This tool could inspect vars created in the runtime after loading a set of namespaces. This data could be dumped to a file which clj-kondo will use for a second opinion to prevent false positives.

borkdude avatar Jan 22 '21 20:01 borkdude

1m didibus I guess its because I'm coming from the perspective of tools.namespace refresh. People will often like eval a defn and later delete it. So now if you peek in the REPL, you will see that it is there, but that's the bug they want to be warned against.

<1m borkdude yeah, that's true, this is also where clj-kondo shines right now: it will tell you the var doesn't exist anymore .. hmm

borkdude avatar Jan 22 '21 20:01 borkdude