diff src/proto/evalfunc.pro @ 31742:f578bef02249 v9.0.1203

patch 9.0.1203: return type of values() is always list<any> Commit: https://github.com/vim/vim/commit/32517c4c14ed3f9240fcd5b7c01d0ca2e586f7e4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 15 18:17:12 2023 +0000 patch 9.0.1203: return type of values() is always list<any> Problem: Return type of values() is always list<any>. Solution: Use the member type if possible. (issue https://github.com/vim/vim/issues/11822)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Jan 2023 19:30:04 +0100
parents 72e6073a2822
children 16025ef158bf
line wrap: on
line diff
--- a/src/proto/evalfunc.pro
+++ b/src/proto/evalfunc.pro
@@ -7,7 +7,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 **decl_type);
+type_T *internal_func_ret_type(int idx, int argcount, type2_T *argtypes, type_T **decl_type, garray_T *type_gap);
 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);