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 with amap #1069

Closed
borkdude opened this issue Nov 10, 2020 · 0 comments
Closed

False positive with amap #1069

borkdude opened this issue Nov 10, 2020 · 0 comments

Comments

@borkdude
Copy link
Member

borkdude commented Nov 10, 2020

Both in CLJ and CLJS:

(let [nodes (into-array [1 2 3]) nodes (amap nodes idx _ idx)] nodes)
(let [nodes #js [1 2 3] nodes (amap nodes idx _ idx)] nodes)

This reports unused binding nodes.

@borkdude borkdude added this to Needs triage in clj-kondo via automation Nov 10, 2020
@borkdude borkdude moved this from Needs triage to High priority (next release) in clj-kondo Nov 10, 2020
@borkdude borkdude changed the title False positive with CLJS amap False positive with amap Nov 10, 2020
@borkdude borkdude moved this from High priority (next release) to In progress in clj-kondo Dec 5, 2020
borkdude added a commit that referenced this issue Dec 5, 2020
@borkdude borkdude moved this from In progress to Next release in clj-kondo Dec 5, 2020
clj-kondo automation moved this from Next release to Done Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
clj-kondo
  
Done
Development

No branches or pull requests

1 participant