forked from aniani/vim
patch 8.2.2558: no error if a lambda argument shadows a variable
Problem: No error if a lambda argument shadows a variable. Solution: Check that the argument name shadows a local, argument or script variable. (closes #7898)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* vim9compile.c */
|
||||
int script_var_exists(char_u *name, size_t len, int vim9script, cctx_T *cctx);
|
||||
int check_defined(char_u *p, size_t len, cctx_T *cctx);
|
||||
int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg);
|
||||
int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2);
|
||||
int use_typecheck(type_T *actual, type_T *expected);
|
||||
int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const);
|
||||
|
Reference in New Issue
Block a user