Hmm, might have found an edge case in linter for format
from the docs at https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html > Relative indexing is used when the format specifier contains a `'<'` ('\u003c') flag which causes the argument for the previous format specifier to be re-used.
Nice! Feel free to post an issue. You can ignore this using #{_:clj-kondo/ignore [:format]}
@viesti I now made the issue: https://github.com/borkdude/clj-kondo/issues/1042 I wonder why this feature is useful to anyone?
What does clj-kondo mean here disambiguate?
(String. (b64/encode (.getBytes ^String "something")) "UTF-8")
Error:
Cannot disambiguate overloads of String
@michael819 That error isn't coming from clj-kondo, more likely from Clojure itself
Maybe b64/encode
doesn't have a return type tag so you need to specify ^String
probably (assuming it returns a string)
It was a byte-array thanks for the pointer on that.