Second update: It's the conversion from transient back to persistent that causes the problem.
On Sunday, 8 May 2016 19:24:18 UTC-7, JvJ wrote: > > Update to this topic: I can create a transient cross-map, but the failure > occurs when I call "into" on a persistent cross-map. I knew that into used > transients internally in certain cases, but is there something that I'm > missing? > > On Sunday, 8 May 2016 19:21:35 UTC-7, JvJ wrote: >> >> I'm implementing a data structure with persistent and transient >> implementations. (Code is here: >> https://github.com/JvJ/cross-map/blob/master/src/cross_map/core.cljc#L446 >> ). >> >> When I try to convert a persistent cross-map to a transient cross-map, I >> get the following exception: >> >> ClassCastException cross_map.core.TransientCrossMap cannot be cast to >> compile__stub.cross_map.core.TransientCrossMap >> cross-map.core.TransientCrossMap (core.cljc:483) >> >> I don't understand what this means. Does anyone have insight on it. >> > -- 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.