-
-
Notifications
You must be signed in to change notification settings - Fork 66
-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
WARNING: No such namespace: clojure.lang.PersistentHashMap #67
Comments
Got the same problem today (rum/cljs 1.7.122/sablono 0.3.6). It worked fine in cljs file, but once I renamed it to cljc, it broke. Just a destructuring in top-level form: (rum/defc checkboxes-response [item opts]
(let [{id :entry/id
{choices :choices
max :max-selection} :item/attrs} item |
Hey, I'm on a surf trip in Spain and AFK for the foreseeable future. If
|
In my case, it's cljs and it only breaks when I compile using figwheel, launched from within the app. Normal compilation using cljsbuild works fine. Also, this used to work just fine, and recent updates broke it (I think newer ClojureScript versions caused the problem to appear). I am afraid I have no idea of even where to look for this problem. Don't worry too much — I removed all my toplevel destructurings for now as a workaround, so I'm fine for the moment. Enjoy your surfing! |
This was caused by macroexpanding ClojureScript code with Clojure's macroexpand. This is fixed since some time. |
This isn't really a bug report, because I am still not certain where the bug actually is. I'm hoping you will either have an idea, or perhaps some pointers.
I've spent the better part of the last days trying to figure out why I'm getting warnings like:
I get these warnings only in a certain environment: when compiling using figwheel, but not when launching via
lein figwheel
, but starting figwheel directly from the application, as the chestnut template does.I managed to narrow it down to:
In other words, if a component does map destructuring inside a let form, the warnings appear.
I checked and Rum doesn't really do much with the body, passing it to sablono's
compile-html
.Do you have any idea what could be causing these warnings?
The text was updated successfully, but these errors were encountered: