-
Notifications
You must be signed in to change notification settings - Fork 55
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
zip/root isn't idempotent #311
Comments
Having written all that out, I see that the docstring says that |
I'm not crazy about the naming of the There is an open issue about traversing to the top node #149. |
@NoahTheDuke, is this issue good to close now? |
Chatted with @NoahTheDuke, he's good to close this one. |
Version
1.1.48
Platform
Operating System: MacOS
Clojure version: 1.11.4
JDK vendor and version: openjdk 17.0.11 2024-04-16
Symptom
Can't call
zip/root
on a zipper multiple times.Reproduction
Actual behavior
Throws a
ClassCastException
with message: "class rewrite_clj.node.forms.FormsNode cannot be cast to class clojure.lang.IFn (rewrite_clj.node.forms.FormsNode is in unnamed module of loader clojure.lang.DynamicClassLoader @653a5a; clojure.lang.IFn is in unnamed module of loader 'app')"Expected behavior
I would expect that
zip/root
is idempotent and can be called repeatedly on a zipper.Diagnosis
I haven't looked at the code yet, so I'm not sure.
Action
Wait and see.
The text was updated successfully, but these errors were encountered: