mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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>
This commit is contained in:
committed by
Christian Brabandt
parent
5090a1fecb
commit
16f2d3a465
@@ -1568,6 +1568,7 @@ typedef struct {
|
||||
type_T *ocm_type;
|
||||
int ocm_flags;
|
||||
char_u *ocm_init; // allocated
|
||||
sctx_T ocm_init_sctx; // script context of the initializer expression
|
||||
} ocmember_T;
|
||||
|
||||
// used for the lookup table of a class member index and object method index
|
||||
|
Reference in New Issue
Block a user