I have a macro that calls macroexpand inside it's body so it can walk over macroexpanded code for generating it's output.
It works perfectly when called from Clojure but when calling it from ClojureScript the macroexpand call just return its input without doing any macroexpansion.
(defmacro m [form]
(let [form' (macroexpand form)]
;; do something with form'
This looks like a bug to me, what do you think? Any workaround?
Here is a repo that reproduces the issue : https://github.com/jpmonettas/clojurescript-macro-issue