This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-06
Channels
- # babashka (101)
- # beginners (47)
- # biff (7)
- # calva (36)
- # clj-kondo (19)
- # clojure (11)
- # clojure-europe (1)
- # clojurescript (4)
- # conjure (4)
- # core-typed (3)
- # cursive (24)
- # emacs (22)
- # events (4)
- # gratitude (1)
- # introduce-yourself (1)
- # malli (27)
- # meander (5)
- # off-topic (101)
- # portal (5)
- # shadow-cljs (26)
- # tools-build (4)
- # tools-deps (3)
- # vim (8)
- # xtdb (13)
You can verify this yourself in a REPL:
user=> AutoCloseable
Syntax error compiling at (REPL:0:0).
I have the general impression that all things under java.lang are directly accessible. Why here isn’t the caes?
Don't complain to me, this is just not the case for all classes as you can verify in a REPL. This is not a kondo problem. Take it up with the people who wrote those docs.
user=> java.lang.ProcessHandle
java.lang.ProcessHandle
user=> ProcessHandle
Syntax error compiling at (REPL:0:0).
Unable to resolve symbol: ProcessHandle in this context
Kondo just tells you what is the case, it's not going to change your Clojure implementation for you :)
No complain. It just breaks my previous impression with what’s automatically accessible.
That auto import list hasn't been updated in a while - we have a ticket for it.
They've added so much stuff, I'm not sure that we will want to add everything when we do update it
Yeah, it needs some analysis, just haven't gotten around to doing it
I wonder if there are potential breakages if someone has already imported foo.bar.ProcessHandle
and then adding java.lang.ProcessHandle
as an auto-import
Yeah, stuff like that is something I worry about
Same kind of problem as adding new stuff to core with auto refers