]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0724: closure in compiled function gets same variable in block v9.0.0724
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Oct 2022 19:04:09 +0000 (20:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Oct 2022 19:04:09 +0000 (20:04 +0100)
commita275f2cdcc4353e7653a69c7c818422db5da599d
tree5c14a63a542f0880495c5e77cf243daadb3b03a7
parenta9a364872e41932990aba1787af65f67c7e14917
patch 9.0.0724: closure in compiled function gets same variable in block

Problem:    Closure in compiled function gets same variable in block.
Solution:   At the end of a block to not always reset the variable count.
            (issue #11094)
src/testdir/test_vim9_script.vim
src/version.c
src/vim9cmds.c
src/vim9compile.c