[CLJ-981] clojure.set/rename-keys deletes keys when there's a collision Created: 04/May/12 Updated: 15/Jun/12 Resolved: 15/Jun/12 |
|
| Status: | Closed |
| Project: | Clojure |
| Component/s: | None |
| Affects Version/s: | Release 1.3 |
| Fix Version/s: | Release 1.5 |
| Type: | Defect | Priority: | Minor |
| Reporter: | Ed Bowler | Assignee: | Unassigned |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Patch: | Code and Test |
| Approval: | Ok |
| Description |
|
(set/rename-keys {:a "one" :b "two" :c "three"} {:a :b :b :a}) returns {:b "one" :c "three"} I have created a pull request for a fix, here: https://github.com/clojure/clojure/pull/23 |
| Comments |
| Comment by Ed Bowler [ 04/May/12 1:31 PM ] |
|
added fix |