Skip to content

Commit

Permalink
Changes to clojure 1.3 alpha break the build (logging, trace).
Browse files Browse the repository at this point in the history
Judicious addition of :dynamic metadata.
  • Loading branch information
Paul Michael Bauer committed Apr 16, 2011
1 parent 0aad2e9 commit 593169a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -490,5 +490,6 @@
to obtain an instance satisfying the Log protocol. Defaults to the value
returned from find-factory. Can be rebound to provide alternate logging
implementations"}
^:dynamic
*log-factory*
(find-factory))
1 change: 1 addition & 0 deletions modules/trace/src/main/clojure/clojure/contrib/trace.clj
Expand Up @@ -39,6 +39,7 @@ code is doing."}

(def
^{:doc "Current stack depth of traced function calls."}
^:dynamic
*trace-depth* 0)

(defn tracer
Expand Down

0 comments on commit 593169a

Please sign in to comment.