Closed
Description
unordered-containers/Data/HashMap/Internal/Strict.hs
Lines 384 to 422 in 7237826
The problem is in lines 404–407: v'
is never forced.
I wonder whether confusion about the strictness of insertNewKey
may have led to this bug. Although this function doesn't have a module prefix, it is imported from Data.HashMap.Internal
. The code author may have thought that they were using a local, strict version of insertNewKey
.