Permalink
Browse files

clojure 1.3 is stricter wrt dynamic rebinds, provide the right metada…

…ta for var-declarations
  • Loading branch information...
1 parent 5020353 commit 343b86f82b7938faffdd21fcb95fb945caa0ebd6 @pyr pyr committed Aug 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/reasonr/scriptjure.clj
@@ -118,7 +118,7 @@
(str "(" (str/join (str " " (or (substitutions operator) operator) " ")
(map emit args)) ")")))
-(def var-declarations nil)
+(def ^{:dynamic true} var-declarations nil)
(defmacro with-var-declarations [& body]
`(binding [var-declarations (atom [])]

0 comments on commit 343b86f

Please sign in to comment.