CuppoJava a écrit :
> That workaround works nicely for now. I think though that this problem
> can potentially be the source of many hard-to-find bugs though. ie..
> like in my second example, the vector of ArrayLists.
>   
You can ask to be warned:
user=> (set! *warn-on-reflection* true)
true
user=> (let [temp [(java.util.ArrayList. ["foo"])]]
  (.remove (first temp) (int 0)))
Reflection warning, line: 939 - call to java.util.ArrayList ctor can't 
be resolved.
Reflection warning, line: 940 - call to remove can't be resolved.

Christophe

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