forked from aniani/vim
patch 9.0.1240: cannot access a private object member in a lambda
Problem: Cannot access a private object member in a lambda defined inside
the class.
Solution: Go up the context stack to find the class. (closes #11866)
This commit is contained in:
@@ -7,6 +7,7 @@ void ex_type(exarg_T *eap);
|
||||
int class_object_index(char_u **arg, typval_T *rettv, evalarg_T *evalarg, int verbose);
|
||||
ufunc_T *find_class_func(char_u **arg);
|
||||
int class_member_index(char_u *name, size_t len, class_T **cl_ret, cctx_T *cctx);
|
||||
int inside_class(cctx_T *cctx_arg, class_T *cl);
|
||||
void copy_object(typval_T *from, typval_T *to);
|
||||
void object_unref(object_T *obj);
|
||||
void copy_class(typval_T *from, typval_T *to);
|
||||
|
||||
Reference in New Issue
Block a user