Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Release 1.2, Release 1.3, Release 1.4
-
Fix Version/s: Release 1.5
-
Component/s: None
-
Labels:None
-
Patch:Code and Test
-
Approval:Ok
Description
disj! fails whenever called with multiple items to remove:
user=> (-> #{5 10 15 20} transient (disj! 10 15) persistent!)
ClassCastException clojure.lang.PersistentHashSet$TransientHashSet cannot be cast to clojure.lang.IPersistentSet clojure.core/disj (core.clj:1419)
It is a simple one line fix to disj! Clojure source code to correct this.
Attachments
Activity
Andy Fingerhut
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | clj-934-transient-disj-patch2.txt [ 10987 ] |
Andy Fingerhut
made changes -
| Attachment | transient-disj-patch1.txt [ 10936 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |
Stuart Halloway
made changes -
| Approval | Screened [ 10004 ] | |
| Attachment | clj-934-transient-disj-patch-3.txt [ 11300 ] |
Andy Fingerhut
made changes -
| Attachment | clj-934-transient-disj-patch2.txt [ 10987 ] |
Rich Hickey
made changes -
| Approval | Screened [ 10004 ] | Ok [ 10007 ] |
Stuart Halloway
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Closed [ 6 ] |