Also direct calls are only handled, if the first arg is a symbol that
directly resolves to a class:

user=> (def C Long)
user=> (instance? C)
ArityException Wrong number of args (1) passed to: core$instance-QMARK-
 clojure.lang.AFn.throwArity (AFn.java:437)

Starting from this, I just discovered another, much more severe bug:

user=> (let [Long String] (instance? Long "abc"))
false

I've opened a ticket: http://dev.clojure.org/jira/browse/CLJ-1171

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to