tools.namespace ignores ns form dependencies inside vectors
For example, tools.logging has this ns form (metadata omitted):
tools.namespace ignores these dependencies, only processing those that are in list subforms of the ns form.
Not sure if the best way to handle this is to update tools.logging or tools.namespace. tools.logging seems pretty unusual in using vectors like this, but the Clojure compiler seems to accept it just fine.
Included in release version 0.2.9
Proposed patch tns-21-v1.patch dated Dec 22 2014 would enable tools.namespace to recognize dependencies in ns forms where the references are vectors, in addition to lists.
Temporarily reopening the ticket just to assign a patch for possible consideration. Will return it to the state I found it in when done.
The ns macro docstring is quite clear that references inside it should be lists. I've seen a lot of weird ns forms, and this is the first time I've seen vectors used this way.
I would say I'm surprised that vectors work here, except nothing weird about the ns macro surprises me any more.