Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive invalid arity with comp + map in .cljc / .cljs #1807

Closed
borkdude opened this issue Sep 12, 2022 · 0 comments
Closed

False positive invalid arity with comp + map in .cljc / .cljs #1807

borkdude opened this issue Sep 12, 2022 · 0 comments
Projects

Comments

@borkdude
Copy link
Member

Repro:

$ clj-kondo --lint - --lang cljs <<< '(comp (map (fn [_results _cols])) cat)'
<stdin>:1:12: error: fn is called with 1 arg but expects 2
linting took 13ms, errors: 1, warnings: 0

Reported: @quoll

@borkdude borkdude added this to Needs triage in clj-kondo via automation Sep 12, 2022
@borkdude borkdude moved this from Needs triage to High priority (next release) in clj-kondo Sep 12, 2022
@borkdude borkdude moved this from High priority (next release) to In progress in clj-kondo Sep 14, 2022
clj-kondo automation moved this from In progress to Done Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
clj-kondo
  
Done
Development

No branches or pull requests

1 participant