I can't make macroexpand and macroexpand-1 work within a clj macro called from 
cljs.

I didn't find anything about this on the CLJS Jira.

Does anyone have the same problem?

Example:

(defmacro test-macroexpand [] `(quote ~(macroexpand-1 '(-> 1 inc))))
(test-macroexpand)

returns:
- on the CLJ repl:
(inc 1)

- if defmacro is in a clj file and the macro is called from cljs:
(-> 1 inc)

Vianney


-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to