mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
Estimated hours taken: 1
Branches: main, release
library/hash_table.m:
The arrays containing the keys and values are initialized
using the key and value of the first insertion. This was not
being done if the first insertion was done with
hash_table__det_insert rather than hash_table__set.
tests/hard_coded/Mmakefile:
tests/hard_coded/hash_init_bug.{m,exp}:
Test case.
2 lines
26 B
Plaintext
2 lines
26 B
Plaintext
search failed as expected
|