comparison src/proto/evalfunc.pro @ 27503:4cea92e99a5a v8.2.4279

patch 8.2.4279: Vim9: cannot change item type with map() after range() Commit: https://github.com/vim/vim/commit/8133018f50bc447570825801e93d5ed67e8dac90 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 1 12:11:58 2022 +0000 patch 8.2.4279: Vim9: cannot change item type with map() after range() Problem: Vim9: cannot change item type with map() after range(). Solution: Split the return type in current type and declared type. (closes #9665)
author Bram Moolenaar <Bram@vim.org>
date Tue, 01 Feb 2022 13:15:03 +0100
parents fb4c30606b4a
children dc68c111cf7a
comparison
equal deleted inserted replaced
27502:aad2a09123be 27503:4cea92e99a5a
4 int find_internal_func(char_u *name); 4 int find_internal_func(char_u *name);
5 int has_internal_func(char_u *name); 5 int has_internal_func(char_u *name);
6 char *internal_func_name(int idx); 6 char *internal_func_name(int idx);
7 int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx); 7 int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx);
8 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount); 8 void internal_func_get_argcount(int idx, int *argcount, int *min_argcount);
9 type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes); 9 type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type);
10 int internal_func_is_map(int idx); 10 int internal_func_is_map(int idx);
11 int check_internal_func(int idx, int argcount); 11 int check_internal_func(int idx, int argcount);
12 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv); 12 int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv);
13 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv); 13 void call_internal_func_by_idx(int idx, typval_T *argvars, typval_T *rettv);
14 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv); 14 int call_internal_method(char_u *name, int argcount, typval_T *argvars, typval_T *rettv, typval_T *basetv);