{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127","labels_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/comments","events_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127/events","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/127","id":114850175,"number":127,"title":"Mr Anderson and \"circular dependencies\" clj/cljs","user":{"login":"magnars","id":265785,"avatar_url":"https://avatars.githubusercontent.com/u/265785?v=3","gravatar_id":"","url":"https://api.github.com/users/magnars","html_url":"https://github.com/magnars","followers_url":"https://api.github.com/users/magnars/followers","following_url":"https://api.github.com/users/magnars/following{/other_user}","gists_url":"https://api.github.com/users/magnars/gists{/gist_id}","starred_url":"https://api.github.com/users/magnars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnars/subscriptions","organizations_url":"https://api.github.com/users/magnars/orgs","repos_url":"https://api.github.com/users/magnars/repos","events_url":"https://api.github.com/users/magnars/events{/privacy}","received_events_url":"https://api.github.com/users/magnars/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-03T16:09:36Z","updated_at":"2015-11-03T18:01:07Z","closed_at":null,"body":"Here's a new one for me:\r\n\r\n```\r\nclojure.lang.ExceptionInfo: Circular dependency between quiescent.core and quiescent.core\r\n at clojure.core$ex_info.invoke (core.clj:4593)\r\n    mranderson046.toolsnamespace.v0v3v0_alpha1.clojure.tools.namespace.dependency.MapDependencyGraph.depend (dependency.cljc:89)\r\n    mranderson046.toolsnamespace.v0v3v0_alpha1.clojure.tools.namespace.track$add_deps$fn__50653$fn__50655.invoke (track.cljc:26)\r\n```\r\n\r\nFull stack: https://gist.github.com/magnars/43702192d9d8108f98eb\r\n\r\nThe namespace for `quiescent.core` in clj is simply:\r\n\r\n```clj\r\n(ns quiescent.core)\r\n```\r\n\r\nThe namespace for `quiescent.core` in cljs is:\r\n\r\n```clj\r\n(ns quiescent.core\r\n  (:require [cljsjs.react])\r\n  (:require-macros [quiescent.core :refer [react-method]]))\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/comments/153435297","html_url":"https://github.com/clojure-emacs/refactor-nrepl/issues/127#issuecomment-153435297","issue_url":"https://api.github.com/repos/clojure-emacs/refactor-nrepl/issues/127","id":153435297,"user":{"login":"stuartsierra","id":95044,"avatar_url":"https://avatars.githubusercontent.com/u/95044?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartsierra","html_url":"https://github.com/stuartsierra","followers_url":"https://api.github.com/users/stuartsierra/followers","following_url":"https://api.github.com/users/stuartsierra/following{/other_user}","gists_url":"https://api.github.com/users/stuartsierra/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartsierra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartsierra/subscriptions","organizations_url":"https://api.github.com/users/stuartsierra/orgs","repos_url":"https://api.github.com/users/stuartsierra/repos","events_url":"https://api.github.com/users/stuartsierra/events{/privacy}","received_events_url":"https://api.github.com/users/stuartsierra/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T18:01:07Z","updated_at":"2015-11-03T18:01:07Z","body":"tools.namespace supports .cljs and .cljc as of 0.3.0-alpha1. [TNS-35](http://dev.clojure.org/jira/browse/TNS-35) should have been closed with that release — I just closed it.\r\n\r\nBut tools.namespace can't handle the case of two files defining the same namespace. I added [TNS-38](http://dev.clojure.org/jira/browse/TNS-38) to track this issue. This might be difficult to fix in the near-term, since tools.namespace assumes a one-to-one correspondence between namespaces and files. \r\n"}}