forked from aniani/vim
patch 8.2.1846: Vim9: block variables are not found in compiled function
Problem: Vim9: variables declared in a local block are not found in when a function is compiled. Solution: Look for script variables in sn_all_vars.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* vim9compile.c */
|
||||
int check_defined(char_u *p, size_t len, cctx_T *cctx);
|
||||
int check_compare_types(exptype_T type, typval_T *tv1, typval_T *tv2);
|
||||
int get_script_item_idx(int sid, char_u *name, int check_writable);
|
||||
int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx);
|
||||
imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
|
||||
imported_T *find_imported_in_script(char_u *name, size_t len, int sid);
|
||||
int vim9_comment_start(char_u *p);
|
||||
|
Reference in New Issue
Block a user