The CLJ-916 commit 
(https://github.com/clojure/clojure/commit/b5d0e84f92038449312bea4c31dcdedd499e28b8)
 
looks like it preserved meta on the to collection but did not merge meta 
from the from collection, so as far as I can tell this is a new 
enhancement. Feel free to file a ticket for that but seems unlikely we'll 
get it into 1.7.

On Friday, April 3, 2015 at 7:14:31 AM UTC-5, Gregg Reynolds wrote:
>
> Hi,
>
> http://dev.clojure.org/jira/browse/CLJ-916 reports that into loses 
> metadata; it is marked closed and fixed in 1.5.  However, into still seems 
> to be losing metadata.  The relevant code from 1.7-alpha6 (core.clj) is:
>
>      (if (instance? clojure.lang.IEditableCollection to)
>        (with-meta (persistent! (reduce conj! (transient to) from)) (meta 
> to))
>
> What I need is something like
>
>      (if (instance? clojure.lang.IEditableCollection to)
>        (with-meta (persistent! (reduce conj! (transient to) from)) (merge 
> (meta to) (meta from))
>
> Did the fix get lost, or is there a problem with changing into's handling 
> of metadata?
>
> Thanks,
>
> Greggg
>
>

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

Reply via email to