Hey,

not sure what you are trying to achieve, since the compiler should already warn 
you if a var is not found. Might not do so when nesting defs. def/defn are top 
level forms und should not be nested, especially no def in a defn.

As for your question: the CLJS compiler supports vars in macros, but only on 
the clojure side (eg. in your macros.clj). Your macros may reference other vars 
from the CLJ world but know nothing about the CLJS world (expect maybe from 
&env).

HTH,
/thomas

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to