clj-commons / potemkin

some ideas which are almost good
572 stars 53 forks source link

Fix bug in AbstractMap/entryAt #35

Closed bcobb closed 9 years ago

bcobb commented 9 years ago

Previously, this would throw the exception java.lang.Class cannot be cast to clojure.lang.IFn. I've added a couple of tests which I used to reproduce the bug, but I'm also taking a crack at augmenting collection-check with test for find and select-keys.

ztellman commented 9 years ago

Yikes, thanks for catching this.

tobias commented 9 years ago

@ztellman would it be possible to get a release with this fix? Thanks!

ztellman commented 9 years ago

Done, sorry for the delay.

tobias commented 9 years ago

No worries, thanks!