This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-23
Channels
- # babashka (1)
- # beginners (26)
- # clj-kondo (15)
- # cljdoc (2)
- # clojure (14)
- # clojure-europe (13)
- # clojure-norway (6)
- # conjure (2)
- # etaoin (4)
- # events (2)
- # expound (2)
- # fulcro (1)
- # hyperfiddle (6)
- # london-clojurians (2)
- # malli (3)
- # meander (10)
- # minecraft (3)
- # nbb (34)
- # off-topic (10)
- # pathom (13)
- # reagent (7)
- # vim (3)
@borkdude looks like the unused import linter currently doesn't understand usages of the class in the :gen-class
ns clause
(ns <redacted>
(:import
(com.mongodb.kafka.connect.sink MongoSinkTopicConfig)
(com.mongodb.kafka.connect.sink.processor PostProcessor))
(:gen-class
:name "<redacted>"
:extends PostProcessor
:constructors {[MongoSinkTopicConfig] [MongoSinkTopicConfig]}))
This is what I'm currently working on where I spotted it
Okay, cool
Okay, turns out this should be an error.
Because apparently the classes in your import clause aren't available in the gen-class form
so you need to fully-qualify them.
Nope, I have the order in a way that should make sense, but it still resolves non-qualified class names as being from java.lang