]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0261: Vim9: protected class and funcrefs accessible outside the class v9.1.0261
authorYegappan Lakshmanan <yegappan@yahoo.com>
Thu, 4 Apr 2024 17:35:59 +0000 (19:35 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 4 Apr 2024 17:35:59 +0000 (19:35 +0200)
commit3e33650b3a9939f6b942c1d1eccdb261ea17a647
tree167bd86efdf040f2866be1547d356a612b5aa2ea
parentbd28cae1f1c21c0e3743e3427c98bbd848fad237
patch 9.1.0261: Vim9: protected class and funcrefs accessible outside the class

Problem:  Vim9: protected class and funcrefs accessible outside the class
          (Aliaksei Budavei)
Solution: Check if class and object funcrefs are protected
          (Yegappan)

closes: #14407

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_functions.vim
src/testdir/test_vim9_class.vim
src/userfunc.c
src/version.c
src/vim9class.c