]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1948: Vim9: object variable "this." should only be used in constructor v9.0.1948
authorh-east <h.east.727@gmail.com>
Thu, 28 Sep 2023 20:18:19 +0000 (22:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 28 Sep 2023 20:18:19 +0000 (22:18 +0200)
commitdb38552dcdc7460459df8bf5cf02666256045308
tree79c3631e1c83ad547356bea130ac9e247216dc87
parent03ca4002c1dcd34c4b17fe4a491b02d77ec2c887
patch 9.0.1948: Vim9: object variable "this." should only be used in constructor

Problem:  Vim9: object variable "this." should only be used in
          constructor
Solution: Disallow to this in normal object methods (other than
          constructors)

closes: #13152
closes: #13212

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: h-east <h.east.727@gmail.com>
runtime/doc/tags
runtime/doc/vim9class.txt
src/errors.h
src/testdir/test_vim9_class.vim
src/userfunc.c
src/version.c