-
-
Notifications
You must be signed in to change notification settings - Fork 210
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 ns dependency leads to wrong error #676
Comments
I just had a similar case. I was adding a new dependency and added some code, while creating a circular dependency. Then I got a stacktrace that looked recursive and at the end was a message that it could not find net.cgrand.regex.clj on the classpath. It left me very confused and I spent some time until I took my changes back, found this issue and figured out the CD was the problem. Also, If I remove the code and the dependency and only leave the |
@eggsyntax My cljs directory was contained as a source dir, so that was not the problem. |
Running figwheel, I accidentally created a circular namespace dependency between two of my files.
Rather than the usual, somewhat friendly, error that I expected from Clojure, I triggered a stack overflow in Figwheel, mostly in
figwheel.client.file-reloading/build-topo-sort
.Of course, Figwheel is well within its rights to barf at the invalid input I gave it, but it would be more beginner-friendly to catch this situation.
The text was updated successfully, but these errors were encountered: