]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0495: closure doesn't work properly in nested loop v9.0.0495
authorBram Moolenaar <Bram@vim.org>
Sun, 18 Sep 2022 11:00:21 +0000 (12:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 18 Sep 2022 11:00:21 +0000 (12:00 +0100)
commitdbbb02bc770646776a04122ff58313d170873e67
treeaf52a5dc2c436ac3bb60da3db6cf2007cce246ae
parent96caa557f92f7e1fd61d4b401fefd30c91eb44f0
patch 9.0.0495: closure doesn't work properly in nested loop

Problem:    Closure doesn't work properly in nested loop.
Solution:   Save variables up to the outer loop.
src/testdir/test_vim9_script.vim
src/version.c
src/vim9execute.c