Just so you know, you have interested non-users too 🙂 This is fascinating stuff, keep up the good work!
Are you planning to flow these types at all, or is that out of scope just now? e.g.
$ clj-kondo --lint - <<< '(defn foo [] :foo) (let [a (foo)] (inc a))'
linting took 10ms, errors: 0, warnings: 0
This is great btw; I had no idea kondo was doing this stuff yet… just upgraded!
That is supposed to work, but I'm not sure why it doesn't in this case. I'll make an issue for it.
@rickmoynihan Fixed it. Are you running linux or mac?
It was a minor glitch.
Anyway here is the mac binary: https://8777-176829714-gh.circle-artifacts.com/0/release/clj-kondo-2020.02.16-SNAPSHOT-macos-amd64.zip And here's the linux binary: https://8776-176829714-gh.circle-artifacts.com/0/release/clj-kondo-2020.02.16-SNAPSHOT-linux-amd64.zip
mac
wow that was quick
can I brew upgrade?
hmm looks like I can’t
It’s not released yet.
ahh no worries 🙂
Released.
Upgraded:
$ clj-kondo --lint - <<< '(defn foo [] :foo) (let [a (foo)] (inc a))'
<stdin>:1:40: error: Expected: number, received: keyword.
linting took 47ms, errors: 1, warnings: 0
:thumbsup: