We're updating the issue view to help you get more done. 

clojure.set/rename-keys deletes keys when there's a collision

Description

(set/rename-keys {:a "one" :b "two" :c "three"} {:a :b :b :a}) returns {:b "one" :c "three"}
should be {:a "two" :b "one" :c "three"}

I have created a pull request for a fix, here: https://github.com/clojure/clojure/pull/23

Environment

None

Status

Assignee

Unassigned

Reporter

Ed Bowler

Labels

None

Approval

Ok

Patch

Code and Test

Fix versions

Affects versions

Release 1.3

Priority

Minor