Welcome! Please see the About page for a little more info on how this works.

+1 vote
in Namespaces and vars by

:as-alias doesn't do any of the circular dependency checks that the other ways of using :require do. So it would appear that circular dependencies are fine, however contrib tools like tools.namespace still do the circular dependecy even for :as-alias forms, and throw errors when they are encountered.

1 Answer

+1 vote

:as-alias doesn't load, so seems like circular dependencies are not an issue.

tools.namespace has not been updated to handle :as-alias yet. See https://clojure.atlassian.net/browse/TNS-56