Cross reference:
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.
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.
Temporarily reopening the ticket just to assign a patch for possible consideration. Will return it to the state I found it in when done.
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.
On Git master as of https://github.com/clojure/tools.namespace/commit/d6a4a65c11f571280d02382dfb20c9efd743d70a
Will be in 0.2.9 release
Included in release version 0.2.9