]> granicus.if.org Git - vim/commit
patch 9.0.0479: in :def function all closures in loop get the same variables v9.0.0479
authorBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 14:47:09 +0000 (15:47 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 16 Sep 2022 14:47:09 +0000 (15:47 +0100)
commit1aea184a0dc558a222cc5bcbaad9ab0fd700c7b9
treedcade17fed1f30ad7effaf3ce50c5ab7a2898f57
parent594f9e09cd68e6277b8aa08094405bc642c5792a
patch 9.0.0479: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Use a separate list of variables for LOADOUTER and SAVEOUTER.
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c