Skip to content

vim-patch:partial:9.1.1955: sort() does not handle large numbers correctly#36842

Merged
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36840-to-release-0.11
Dec 6, 2025
Merged

vim-patch:partial:9.1.1955: sort() does not handle large numbers correctly#36842
github-actions[bot] merged 1 commit intorelease-0.11from
backport-36840-to-release-0.11

Conversation

@neovim-backports
Copy link

Description

Backport of #36840 to release-0.11.

…ectly (#36840)

Problem:  sort() does not handle large numbers correctly
          (Igbanam Ogbuluijah)
Solution: Don't truncate the return value of tv_get_number_chk()
          (Yegappan Lakshmanan)

closes: vim/vim#18868

vim/vim@04794ef

Use a Lua test for now, as the Vimscript test uses tuples.

Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
(cherry picked from commit 5370b7a)
@github-actions github-actions bot enabled auto-merge (rebase) December 6, 2025 13:49
@github-actions github-actions bot added vim-patch See https://neovim.io/doc/user/dev_vimpatch.html target:release labels Dec 6, 2025
@github-actions github-actions bot merged commit 0706c55 into release-0.11 Dec 6, 2025
29 of 31 checks passed
@github-actions github-actions bot deleted the backport-36840-to-release-0.11 branch December 6, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target:release vim-patch See https://neovim.io/doc/user/dev_vimpatch.html

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant