I believe this issue has been reported in this ticket: http://dev.clojure.org/jira/browse/CLJ-1093
Currently it is not planned to be fixed in Clojure 1.7.0. Maybe a later release will fix it. Andy On Thu, May 21, 2015 at 11:24 AM, Sergey Didenko <sergey.dide...@gmail.com> wrote: > As I mentioned in another thread, how would you type hint an empty vector? > > (set! *warn-on-reflection* true) > (java.util.ArrayList. []) ;Reflection warning > (java.util.ArrayList. ^java.util.Collection []) ;Reflection warning > > At the same time: > > (java.util.ArrayList. ["a"]) ;OK > > P.S. May be it's offtopic, because I see the same behavior in Clojure 1.5.1 > > -- > 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/d/optout. > -- 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/d/optout.