I get the expected result in my REPL via SLIME:

user> *clojure-version*
{:major 1, :minor 2, :incremental 0, :qualifier ""}
user> (set! *warn-on-reflection* true)
true
user> (defn foo [s] (.charAt s 1))
Reflection warning, NO_SOURCE_FILE:1 - call to charAt can't be resolved.
#'user/foo

Regards,
Stuart

On 4 November 2010 15:11, Ken Wesson <kwess...@gmail.com> wrote:

> The website has this example:
>
> (set! *warn-on-reflection* true)
> -> true
> (defn foo [s] (.charAt s 1))
> -> Reflection warning, line: 2 - call to charAt can't be resolved.
> -> #user/foo
>
> When I try this in a Clojure 1.2 REPL generated by Enclojure 1.4.0/NB
> 6.9.1 I don't see the reflection warning in any of Repl, *err*, and
> *out*.
>
> Is this actually broken in Clojure 1.2 or is it Enclojure screwing up?
>
> --
> 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<clojure%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

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