diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-14 14:57:22 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-14 16:10:10 +0800 |
commit | 9c66b48316d85d24ee92d917765700713862aa2d (patch) | |
tree | 5682b3c2396ccb6250e4305931e514d1102a8dfb /src/nvim/api/vimscript.c | |
parent | 56cfecdd59b4a8e4fa5c23adce858371ade5620f (diff) | |
download | rneovim-9c66b48316d85d24ee92d917765700713862aa2d.tar.gz rneovim-9c66b48316d85d24ee92d917765700713862aa2d.tar.bz2 rneovim-9c66b48316d85d24ee92d917765700713862aa2d.zip |
vim-patch:8.2.3216: Vim9: crash when using variable in a loop at script level
Problem: Vim9: crash when using variable in a loop at script level.
Solution: Do not clear the variable if a function was defined.
Do not create a new entry in sn_var_vals every time.
(closes vim/vim#8628)
https://github.com/vim/vim/commit/2eb6fc3b52148f961e804ec2be361d531ff770d8
Omit eval_cstack: Vim9 script only.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/api/vimscript.c')
0 files changed, 0 insertions, 0 deletions