CLJS-684: throw on circular dependency