]> granicus.if.org Git - vim/commit
patch 9.0.0484: in :def function all closures in loop get the same variables v9.0.0484
authorBram Moolenaar <Bram@vim.org>
Sat, 17 Sep 2022 11:39:58 +0000 (12:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 17 Sep 2022 11:39:58 +0000 (12:39 +0100)
commit8abb584ab85d5855d810d1c6e2b260f45ec839b7
tree7ee9ae19f48b55f0799c7775fef4b4bd58f4e541
parentc249913edc35c0e666d783bfc21595cf9f7d9e0d
patch 9.0.0484: 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:   Add ENDLOOP at break, continue and return if needed.
src/testdir/test_vim9_disassemble.vim
src/version.c
src/vim9.h
src/vim9cmds.c