On Wed, Nov 24, 2010 at 11:18 AM, Sergey Didenko
<sergey.dide...@gmail.com> wrote:
> Here is the Enclojure ticket -
> https://www.assembla.com/spaces/enclojure/tickets/83-rebinding-of-vars-does-not-work-in-ide-repl--e-g--*print-meta*--*warn-on-reflection*

It seems to me that *warn-on-reflection* is working, but the
reflection warnings are being sent to *out* and *out* isn't being
flushed when they are; sending a println to *out* with e.g. (future
(println "foo")) forces all undisplayed reflection warnings to come
vomiting forth.

user=> (set! *warn-on-reflection* true)
true
user=> (defn foo [x] (.length x))
#'user/foo
(nothing else in Repl, nothing in *out*)
user=> (println "foo")
foo
nil
(nothing else in Repl, nothing in *out*)
user=> (future (println "foo"))
#<core$future_call$reify__5...@1f408bb: nil>
user=>
(and over in *out*:)
Reflection warning, NO_SOURCE_PATH:9 - reference to field length can't
be resolved.
foo

-- 
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