You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IMapEntry protocol errors with newer clojurescript #13
Activity
Ramblurr commentedon Jul 2, 2020
Ditto on cljs 1.10.773.
This is a great little library, would hate to see it bitrot :(
Here is the protocol def for IMapEntry: https://github.com/clojure/clojurescript/blob/r1.10.773-2-g946348da/src/main/cljs/cljs/core.cljs#L657-L662
Seems related to clojure/data.avl#5
Deleting IMap and the (-dissoc..) function def fixes the error, but then of course you cannot
dissocon your priority map.Ramblurr commentedon Jul 2, 2020
I think this can be solved by replacing all instances of
[item (item->priority item)]with(MapEntry. item (item->priority item) nil)[item priority]with(MapEntry. item priority nil)[item (key f)]with(MapEntry. item (key f) nil)