Open wontheone1 opened 6 years ago
I believe this has to do with read-namespace
not returning lambdas and other
anonymous functions.
Basically we require the namespace and then look at the
ns-interns
to see what the
methods are, since ns-interns
doesn't return lambdas, they're ignored for
shadowing.
I had code looking like this. Even though
key
is clojure core function it did not give error when checking arguments colliding with clojure.core functions. I don't know if it's missing because it does not detectkey
(inreduce
) or it could be that lein-bikeshed does not detect the arguments in anonymous functions. If the case is the latter, I don't know if it's a bug or intentional decision.