comparison src/proto/vim9compile.pro @ 27515:1aff400b819e v8.2.4285

patch 8.2.4285: Vim9: type of item in for loop not checked properly Commit: https://github.com/vim/vim/commit/a1c519518050383e7d319514a3ff6c42a9154c48 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 2 16:20:26 2022 +0000 patch 8.2.4285: Vim9: type of item in for loop not checked properly Problem: Vim9: type of item in for loop not checked properly. Solution: Adjust the type checking. (closes https://github.com/vim/vim/issues/9683)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Feb 2022 17:30:05 +0100
parents 15f40772e10a
children e311a80f8cbe
comparison
equal deleted inserted replaced
27514:259fb2aa75c0 27515:1aff400b819e
2 int lookup_local(char_u *name, size_t len, lvar_T *lvar, cctx_T *cctx); 2 int lookup_local(char_u *name, size_t len, lvar_T *lvar, cctx_T *cctx);
3 int arg_exists(char_u *name, size_t len, int *idxp, type_T **type, int *gen_load_outer, cctx_T *cctx); 3 int arg_exists(char_u *name, size_t len, int *idxp, type_T **type, int *gen_load_outer, cctx_T *cctx);
4 int script_is_vim9(void); 4 int script_is_vim9(void);
5 int script_var_exists(char_u *name, size_t len, cctx_T *cctx); 5 int script_var_exists(char_u *name, size_t len, cctx_T *cctx);
6 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); 6 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg);
7 int need_type_where(type_T *actual, type_T *expected, int offset, where_T where, cctx_T *cctx, int silent, int actual_is_const);
7 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const); 8 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const);
8 lvar_T *reserve_local(cctx_T *cctx, char_u *name, size_t len, int isConst, type_T *type); 9 lvar_T *reserve_local(cctx_T *cctx, char_u *name, size_t len, int isConst, type_T *type);
9 int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx); 10 int get_script_item_idx(int sid, char_u *name, int check_writable, cctx_T *cctx);
10 imported_T *find_imported(char_u *name, size_t len, int load, cctx_T *cctx); 11 imported_T *find_imported(char_u *name, size_t len, int load, cctx_T *cctx);
11 char_u *may_peek_next_line(cctx_T *cctx, char_u *arg, char_u **nextp); 12 char_u *may_peek_next_line(cctx_T *cctx, char_u *arg, char_u **nextp);