Support a :rename option to :require. Following :rename should be a map of symbol to symbol. Refer to clojure.core/refer for semantics with respect to this allowing avoidance of clashes.
Attached CLJS-1508-1.patch which takes feedback into account
David Nolen August 8, 2016 at 1:51 PM
Flowing a new kind of value (maps) through this code seems like a big complication in an area where the code is already not particularly straightforward. I would also be a little concerned about downstream complexity (other people also have to make this check if using the analyzer for some reason).
Support a
:rename
option to:require
. Following:rename
should be a map of symbol to symbol. Refer toclojure.core/refer
for semantics with respect to this allowing avoidance of clashes.An REPL example: