]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.2012: Vim9: cannot initialize class member with protected var v9.1.2012
authorFoxe Chen <chen.foxe@gmail.com>
Tue, 23 Dec 2025 20:17:30 +0000 (20:17 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 23 Dec 2025 20:17:30 +0000 (20:17 +0000)
commitcbcc5babbad8dc15bc20ebbd2ffb18709816bc04
tree77ad148956e1a94dee4419fa2d154fccff72fb24
parent5e577c7aa8be05281da54e9377fc0ac4b7280a2b
patch 9.1.2012: Vim9: cannot initialize class member with protected var

Problem:  Vim9: cannot initialize class member with protected var
Solution: Allow this to work if this happens within the same class
          (Foxe Chen)

closes: #18949

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/eval.c
src/ex_cmds.h
src/globals.h
src/structs.h
src/testdir/test_vim9_class.vim
src/version.c
src/vim9class.c