Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

circular dependency between cljs and clj with the same namespace names #1469

Closed
huahaiy opened this issue Dec 14, 2015 · 4 comments
Closed

Comments

@huahaiy
Copy link

huahaiy commented Dec 14, 2015

e.g. Cider reports circular dependency between rum.core and rum.core, where rum/core.cljs depends on rum/core.clj for macros:

{:reason :mranderson046.toolsnamespace.v0v3v0-alpha1.clojure.tools.namespace.dependency/circular-dependency, :node rum.core, :dependency rum.core}

@bbatsov
Copy link
Member

bbatsov commented Dec 14, 2015

I'm not sure I understand the problem. A bit more details would be useful - e.g. some repro steps.

@expez
Copy link
Member

expez commented Dec 14, 2015

Guessing this was caused by running some clj-refactor op. AFAIK cider-refresh doesn't build its tracker using cljs/cljc files, only clj files.

The relevant issue is here: clojure-emacs/refactor-nrepl#127

Until the bug is solved in tools.namespace, there's nothing we can do.

@huahaiy
Copy link
Author

huahaiy commented Dec 14, 2015

Correct. This happened when I tried to run clj-refactor "find usage" operation.

@expez expez closed this as completed Dec 14, 2015
@expez
Copy link
Member

expez commented Dec 14, 2015

Closed in favor of the issue in the refactor-nrepl repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants