Skip to content

Commit

Permalink
* src/cljs/cljs/core.cljs: CLJS-87: Inconsistent select-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Oct 14, 2011
1 parent 8fc9bc2 commit 3ab435b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cljs/cljs/core.cljs
Expand Up @@ -2214,9 +2214,9 @@ reduces them without incurring seq initialization"
(loop [ret {} keys (seq keyseq)]
(if keys
(let [key (first keys)
entry (get map key)]
entry (get map key ::not-found)]
(recur
(if entry
(if (not= entry ::not-found)
(assoc ret key entry)
ret)
(next keys)))
Expand Down

0 comments on commit 3ab435b

Please sign in to comment.