Files
neovim/runtime/lua/vim
glepnir 359d65c902 fix(iter): ArrayIter:last returns nil when filtered to empty #34697
Problem: After filtering out all elements, ArrayIter:last still returns a stale element.
Solution: Add check for self._head == self._tail and return nil early.

Fix #34696

(cherry picked from commit 4fe51dfdae)
2025-07-23 02:33:18 +00:00
..
2025-01-30 13:46:06 +01:00
2024-03-06 10:45:22 +00:00
2024-01-16 09:33:10 +00:00
2025-04-30 15:51:38 +02:00
2025-06-17 14:38:36 +00:00
2025-02-26 23:06:22 +01:00