Hello.

> Warning: *print-detail-on-error* not declared dynamic and thus is not
> dynamically rebindable, but its name suggests otherwise. Please either
> indicate ^:dynamic *print-detail-on-error* or change the name.

Since 1.3, the default behavior of vars is non-dynamic/un-rebindable.

So, when you (or its developers if it comes from libraries) define a
dynamic var, you have to write:

(def ^{:dynamic true} *print-detail-on-error* <default value?>)
[1.2-compatible form]

(def ^:dynamic *print-detail-on-error* <default value?>)
[simplified form for 1.3 and latter]

"... change the name" means that the name *foo* suggests it's dynamic
by convention, so if you added stars for emphasis, you should remove
them.

Thanks.

-- 
Name:  OGINO Masanori (荻野 雅紀)
E-mail: masanori.og...@gmail.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to