Skip to content
Browse files

* src/clj/cljs/compiler.clj: CLJS-237: communicate *ns* to macros

  • Loading branch information...
1 parent b42770f commit 29b85c289feaac6b4feca91e24d08cdc88ea7da1 David Nolen committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/clj/cljs/compiler.clj
View
3 src/clj/cljs/compiler.clj
@@ -1294,7 +1294,8 @@
(if (specials op)
form
(if-let [mac (and (symbol? op) (get-expander op env))]
- (apply mac form env (rest form))
+ (binding [*ns* *cljs-ns*]
+ (apply mac form env (rest form)))
(if (symbol? op)
(let [opname (str op)]
(cond

0 comments on commit 29b85c2

Please sign in to comment.
Something went wrong with that request. Please try again.