Permalink
Browse files

Merge pull request #14 from pyr/patch-1

clojure 1.3 is stricter wrt dynamic rebinds
  • Loading branch information...
arohner committed Sep 7, 2011
2 parents 5020353 + 343b86f commit fea28d0067a912ff8e8df40058c15d6c555b8766
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 fea28d0

Please sign in to comment.