What is the meaning of this error? Am I doing something completely ridiculous?
[2025-08-27 11:04:19.580 - WARNING] :shadow.cljs.devtools.server.util/handle-ex - {:msg {:op :cljs-compile, :input {:code "(defn testing [data]\n (-> data namespace keyword))", :ns lol.sudoscience.niaiserie.db, :repl true}, :include-init false, :call-id 5, :from 3}}
AssertionError Assert failed: (ana/ast? sym)
cljs.compiler/fn--4197 (compiler.cljc:504)
cljs.compiler/fn--4197 (compiler.cljc:504)
clojure.lang.MultiFn.invoke (MultiFn.java:229)
cljs.compiler/emit (compiler.cljc:205)
cljs.compiler/emit (compiler.cljc:185)
cljs.compiler/emits (compiler.cljc:212)
cljs.compiler/emits (compiler.cljc:207)
cljs.compiler/fn--4388 (compiler.cljc:836)
cljs.compiler/fn--4388 (compiler.cljc:814)
clojure.lang.MultiFn.invoke (MultiFn.java:229)
cljs.compiler/emit (compiler.cljc:205)
cljs.compiler/emit (compiler.cljc:185)
Code:
(defn testing [data]
(-> data namespace keyword))
Though I tried this with other function definitions and that doesn't seem relevant. It first appeared when I was trying to define a multimethod, fwiw.Actually, just figured it out: I had restarted my REPL and neglected to evaluate the ns form before trying to run this definition
hmm good. I would have never guessed that 😛