Mercurial > vim
diff src/proto/evalfunc.pro @ 22661:c6b17787a38f v8.2.1879
patch 8.2.1879: Vim9: argument types of insert() not checked when compiling
Commit: https://github.com/vim/vim/commit/ca17453e73fe69dc25a9d703804877a60763b685
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 21 16:42:22 2020 +0200
patch 8.2.1879: Vim9: argument types of insert() not checked when compiling
Problem: Vim9: argument types of insert() not checked when compiling.
Solution: Add argument type checks for insert().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Oct 2020 16:45:04 +0200 |
parents | eabe2c1444ea |
children | f2fbbb72ff28 |
line wrap: on
line diff
--- a/src/proto/evalfunc.pro +++ b/src/proto/evalfunc.pro @@ -4,7 +4,7 @@ char_u *get_expr_name(expand_T *xp, int int find_internal_func(char_u *name); int has_internal_func(char_u *name); char *internal_func_name(int idx); -int internal_func_check_arg_types(type_T *types, int idx, int argcount); +int internal_func_check_arg_types(type_T **types, int idx, int argcount); type_T *internal_func_ret_type(int idx, int argcount, type_T **argtypes); int check_internal_func(int idx, int argcount); int call_internal_func(char_u *name, int argcount, typval_T *argvars, typval_T *rettv);