diff options
author | Linus Groh <mail@linusgroh.de> | 2021-03-20 13:43:42 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-21 09:35:47 +0100 |
commit | ae95ed5ddd5e7ab2b9cc32d78a0761747f229b5f (patch) | |
tree | 78f0a5fd58cfaf4dd69e744cf9c5d443ad73f274 /Userland/Libraries/LibGUI/VimEditingEngine.cpp | |
parent | 611b3c2c490f99e5513d32e0f974f242a731bba9 (diff) | |
download | serenity-ae95ed5ddd5e7ab2b9cc32d78a0761747f229b5f.zip |
LibJS: Append first sparse element to packed elements in take_first()
Otherwise we continuously lose the first sparse element (at index
SPARSE_ARRAY_THRESHOLD) without noticing, as we overwrite all indices
with the value at index+1.
Fixes #5884.
Diffstat (limited to 'Userland/Libraries/LibGUI/VimEditingEngine.cpp')
0 files changed, 0 insertions, 0 deletions