There is a jira issue http://dev.clojure.org/jira/browse/CLJ-1226 and it
looks like it is marked as fixed in 1.8

On 05/09/2016 01:10 AM, Kevin Downey wrote:
> If I recall correctly, looking at the code at around line 483, I think I
> have seen that error arise when using (set! (.fieldName this-reference)
> value) inside defrecord and deftype bodies. if you use (set! fieldName
> value) syntax you might be fine.
> 
> On 05/08/2016 07:21 PM, 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
>> <mailto:clojure+unsubscr...@googlegroups.com>.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 


-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

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