Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

clojure 1.3 is stricter wrt dynamic rebinds #14

Merged
merged 1 commit into from

2 participants

@pyr

clojure 1.3 is stricter wrt dynamic rebinds, provide the right metadata for var-declarations

@arohner arohner merged commit fea28d0 into arohner:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 23, 2011
  1. @pyr

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

    pyr authored
    …ta for var-declarations
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/reasonr/scriptjure.clj
View
2  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 [])]
Something went wrong with that request. Please try again.