]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.2002: Vim9: need cleanup of class related interface code v9.0.2002
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sun, 8 Oct 2023 17:07:39 +0000 (19:07 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 8 Oct 2023 17:07:39 +0000 (19:07 +0200)
commitb852305dbf42f1206ecc6ae414fc200235fe2963
treef488c4f44ee33cfb1725e001eff7f8a88073d613
parent75b277d35ce207ceb5e3645a962cfd59657d1d73
patch 9.0.2002: Vim9: need cleanup of class related interface code

Problem:  Vim9: need cleanup of class related interface code
Solution: Remove the unused class variable and class method related code
          for interfaces.

Remove unused class variable and class method related code for
interfaces.

Refactor the code.

Optimize the object/class member double lookup in compile_lhs().

Change unused global functions to static functions.

closes: #13302

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
src/proto/vim9class.pro
src/testdir/test_vim9_class.vim
src/version.c
src/vim9class.c
src/vim9cmds.c
src/vim9compile.c