kibit
kibit copied to clipboard
Wrong suggestion for `(fn [x] [x x])`
Howdy! I ran into this:
(map (fn [x] [x x]) [1 2 3 4])
will result in this advice:
Consider using:
x
instead of:
(fn [x] [x x])
I'm not sure which rule it is trying to apply here.
Hello :wave: ~It looks like yet another form of https://github.com/jonase/kibit/issues/49~ My bad. I can't actually tell if it's related.