map_keyed
(and Keyed
) does not update item if the key hasn't changed
#717
Labels
map_keyed
(and Keyed
) does not update item if the key hasn't changed
#717
Describe the bug
As the title says, the implementation of
map_keyed
assumes that if the new input has an item with the same key, then that item is only moved and not modified.There don't seem to be any tests where the key function is not just the identify function.
So i think what likely happened is that the code was refactored and nobody noticed somehow?
To Reproduce
Steps to reproduce the behavior:
This will give the error
Expected behavior
The test passes
Environment
The text was updated successfully, but these errors were encountered: