We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2849a4c commit 1e8ca8cCopy full SHA for 1e8ca8c
Data/HashMap/Internal.hs
@@ -1191,11 +1191,11 @@ deleteKeyExists !collPos0 !h0 !k0 !m0 = go collPos0 h0 k0 m0
1191
in BitmapIndexed bm ary'
1192
_ -> Full (A.update ary i st')
1193
where i = index h 0
1194
- go collPos h _ (Collision _hy v)
+ go collPos h _ (Collision hy v)
1195
| A.length v == 2
1196
= if collPos == 0
1197
- then Leaf h (A.index v 1)
1198
- else Leaf h (A.index v 0)
+ then Leaf hy (A.index v 1)
+ else Leaf hy (A.index v 0)
1199
| otherwise = Collision h (A.delete v collPos)
1200
go !_ !_ !_ Empty = Empty -- error "Internal error: deleteKeyExists empty"
1201
0 commit comments