From 1cd53a401dfb04d79d8365d7068de5b6777a08bf Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Fri, 23 Aug 2024 14:47:07 -0500 Subject: [PATCH] note --- src/com/ambrosebs/map.clj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/com/ambrosebs/map.clj b/src/com/ambrosebs/map.clj index 755d235..a1dfe69 100644 --- a/src/com/ambrosebs/map.clj +++ b/src/com/ambrosebs/map.clj @@ -757,6 +757,10 @@ (= key key-or-null) (let [_ (set! (.-val removed-leaf) removed-leaf)] + ;; https://clojure.atlassian.net/browse/CLJ-2297?focusedCommentId=13252 + ;; Note that this patch doesn't have a similar change for the transient overload of `without`; + ;; because it relies on a helper method `editAndRemovePair` that correctly handles the empty case, that method doesn't have this bug. + ;; - Ben Bader ;; TODO: collapse - rhickey (edit-and-remove-pair this edit bit idx))