-
Notifications
You must be signed in to change notification settings - Fork 49
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
Clojurescript warnings with zprint 1.2.0, 1.2.2 #231
Comments
First, my apologies for taking so long to answer this -- I was away for a while. Thank you for submitting this issue. I have noticed that Figwheel was spitting up errors the first time I used it since I converted to the new parser in I have spent a lot of hours trying to figure out what is going on with Figwheel. Shadow-cljs works fine, with no problems. But maybe my testing there was also inadequate? No, it really does work with no problems. I created some new shadow-cljs tests with a REPL, and they work too. It is just Figwheel. It took me longer than I'd like to admit to figure out where the cljs compilation results were being cached and generally how to get a Figwheel test to reliably fail. After that, and trying a bunch of other ineffective changes in my code, I finally went to look at the Figwheel classpath. It turns out that I have no idea what the parser is used for in
There are two or three warnings at the beginning unrelated to zprint, but zprint works fine for both structures and string formatting. No errors on In addition, if I exclude
It also works:
I don't know if there is some lurking issue here, where rebel-readline will fail at some point because it isn't getting linked up right with All of this may just be to remove the errors when you start Figwheel, since you may well be using zprint just to print structures, which I believe it does correctly even with the hundreds of errors. Hopefully one of the two Thanks again for pointing out this issue. It is good to have figured it out (finally), and also very good to up my Figwheel testing game. |
The docs were updated for |
In a ClojureScript browser REPL arranged by Figwheel, the first example on the page https://github.com/kkinnear/zprint/blob/master/doc/using/repl.md apparently works - but the "require" emits several warnings when I try zprint 1.2.2. I did not see the warnings with zprint 1.1.2. I tried Figwheel's choice of ClojureScript (1.10.773) and also the latest (1.11.4) with similar results.
Shows at least 100 warnings, including
The first message cites cljs.tools.reader. According to
lein deps :tree
,org.clojure/clojurescript 1.11.4
entailsorg.clojure/tools.reader 1.3.3
.The text was updated successfully, but these errors were encountered: