summaryrefslogtreecommitdiffstats
path: root/src/proto/evalfunc.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-02-01 12:11:58 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-01 12:11:58 +0000
commit8133018f50bc447570825801e93d5ed67e8dac90 (patch)
treeb59670eb8f761b319fad4ead8098674f603cede5 /src/proto/evalfunc.pro
parent4e3b3182307444f205a5f35e257c651f0f3717ad (diff)
patch 8.2.4279: Vim9: cannot change item type with map() after range()v8.2.4279
Problem: Vim9: cannot change item type with map() after range(). Solution: Split the return type in current type and declared type. (closes #9665)
Diffstat (limited to 'src/proto/evalfunc.pro')
-rw-r--r--src/proto/evalfunc.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalfunc.pro b/src/proto/evalfunc.pro
index f17735735b..bcb4ef5570 100644
--- a/src/proto/evalfunc.pro
+++ b/src/proto/evalfunc.pro
@@ -6,7 +6,7 @@ int has_internal_func(char_u *name);
char *internal_func_name(int idx);
int internal_func_check_arg_types(type2_T *types, int idx, int argcount, cctx_T *cctx);
void internal_func_get_argcount(int idx, int *argcount, int *min_argcount);
-type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes);
+type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type);
int internal_func_is_map(int idx);
int check_internal_func(int idx, int argcount);
int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv);