ah, just seen that Justin Smith reported the bug on JIRA http://dev.clojure.org/jira/browse/CLJ-1651
On Thu, Jan 29, 2015 at 7:08 PM, Giovanni Gherdovich <[email protected] > wrote: > Hello, > > I have clojure 1.6.0 I get these errors: > > -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 > user=> ;; expecting {:a 1, :b 2} > user=> (into {} '((:a 1) (:b 2))) > java.lang.ClassCastException: clojure.lang.Keyword cannot be cast to > java.util.Map$Entry (NO_SOURCE_FILE:0) > > user=> ;; expecting {'(["a" 1] ["b" 2]) '(["c" 3] ["d" 4])} > user=> (into {} '((["a" 1] ["b" 2]) (["c" 3] ["d" 4]))) > java.lang.ClassCastException: clojure.lang.PersistentVector cannot be cast > to java.util.Map$Entry (NO_SOURCE_FILE:0) > -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 > > Is that a bug or expected behaviour? > The second error message is not even true (vectors can be cast into > map$entry). > > Cheers, > Giovanni > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
