joker

Discuss all things joker, the Clojure interpreter/linter on top of Go. https://github.com/candid82/joker
borkdude 2019-09-17T09:29:23.006200Z

Hi! I'm trying to implement a similar feature as joker in the realm of "type errors". I bumped into a problem where ^String can be nilable in Clojure. I see that joker warns about this:

(defn foo [^String x])
(foo nil)
while it probably should not. I'm erring on the side of "everything can be nil" just to prevent any false positives. Any thoughts on this?

borkdude 2019-09-17T09:30:47.006500Z

I'll post an issue about this example just to register it somewhere

borkdude 2019-09-17T09:35:19.006700Z

done: https://github.com/candid82/joker/issues/272

borkdude 2019-09-17T10:53:38.007100Z

thanks for joker btw: https://twitter.com/borkdude/status/1173894379410513926

👍 1