This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Hi everyone! I'm having trouble using defnav
from (shadow)cljs.
I think it has something do with macros + cljs and I haven't had much experience with that yet. if anyone had experience with that I'll appreciate the help 🙂
My current error is:
(defnav
-------^------------------------------------------------------------------------
null
Can't def ns-qualified name in namespace CELL-sp at line 36 utils/specter.cljc
--------------------------------------------------------------------------------
37 | CELL
38 | []
39 | (sp/select* [this structure next-fn]
40 | ((maybe-formula next-fn) structure))
--------------------------------------------------------------------------------
for future ref, this was my issue:
sp/select*
defnav
expand to: (declare CELL-sp/select*)
instead of CELL-select*
the /
messes up the var's name