(defn uniquify-locals
"Walks the AST performing alpha-conversion on the :name field
of :local/:binding nodes, invalidates :local map in :env field
Passes opts:
* :uniquify/uniquify-env If true, uniquifies the :env :locals map"
{:pass-info {:walk :none :depends #{}}}
[ast]
(binding [*locals-counter* (atom {})
*locals-frame* (atom {})]
(uniquify-locals-around ast)))