diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-15 18:17:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-15 18:17:12 +0000 |
commit | 32517c4c14ed3f9240fcd5b7c01d0ca2e586f7e4 (patch) | |
tree | 952885cfa5a07de6a06fd0372230f793c67edfc9 /src/proto/evalfunc.pro | |
parent | f450804e1438307c79a62053f8c32eef1508383a (diff) |
patch 9.0.1203: return type of values() is always list<any>v9.0.1203
Problem: Return type of values() is always list<any>.
Solution: Use the member type if possible. (issue #11822)
Diffstat (limited to 'src/proto/evalfunc.pro')
-rw-r--r-- | src/proto/evalfunc.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalfunc.pro b/src/proto/evalfunc.pro index da1c324119..78998ff62d 100644 --- 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); |