After moving a clj file and updating its ns declaration, subsequently updating a ns form that :require's it causes the REPL to bark. Restarting the REPL recovers from it.
Here is a self-contained demo. Instead of making a ns to move, and moving it, I illustrate by recycling the same ns require alias on two Clojure core namespaces... which makes the REPL's perspective pretty clear: --8<-- user=> (ns org.draintheaquifers.pickle (:require [clojure.string :as a])) nil org.draintheaquifers.pickle=> (ns org.draintheaquifers.pickle (:require [clojure.set :as a])) IllegalStateException Alias a already exists in namespace org.draintheaquifers.pickle, aliasing clojure.string clojure.lang.Namespace.addAlias (Namespace.java:224) --8<-- Stand-alone (require ...) forms are incremental, but (ns) is usually all-encompassing. I think I would prefer ns to remap the given aliases without complaint. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.