]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1824: Vim9: variables at the script level escape their scope v8.2.1824
authorBram Moolenaar <Bram@vim.org>
Sat, 10 Oct 2020 17:07:09 +0000 (19:07 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 10 Oct 2020 17:07:09 +0000 (19:07 +0200)
commitfcdc5d83fbfd7ddce634769ea902e58c87f27f20
treeeefebdaddad609fcd533c83744099629bd8d6112
parent28f224b2c1bd2fcdee7b4fe2c64826e1cff08f39
patch 8.2.1824: Vim9: variables at the script level escape their scope

Problem:    Vim9: variables at the script level escape their scope.
Solution:   When leaving a scope remove variables declared in it.
src/evalvars.c
src/ex_eval.c
src/proto/evalvars.pro
src/structs.h
src/testdir/test_vim9_script.vim
src/version.c