]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1146: Vim9: wrong context being used when evaluating class member v9.1.1146
authorYegappan Lakshmanan <yegappan@yahoo.com>
Mon, 24 Feb 2025 18:23:43 +0000 (19:23 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 24 Feb 2025 18:26:56 +0000 (19:26 +0100)
commit16f2d3a46527094901080527dd3cade98cc877f9
treed09fc515cd754e2f818f3fa594fc417a74faf632
parent5090a1fecb86c44be83d55e139ed79b7785fa090
patch 9.1.1146: Vim9: wrong context being used when evaluating class member

Problem:  Vim9: wrong context being used when evaluating class member
          (lifepillar, Ernie Rael)
Solution: Use the correct script context when evaluating a class member
          init expression(Yegappan Lakshmanan)

fixes: #14011
fixes: #14402
closes: #15112
closes: #16660

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 files changed:
src/proto/vim9compile.pro
src/proto/vim9expr.pro
src/proto/vim9instr.pro
src/structs.h
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_import.vim
src/version.c
src/vim9.h
src/vim9class.c
src/vim9compile.c
src/vim9execute.c
src/vim9expr.c
src/vim9instr.c