Mercurial > vim
diff src/proto/typval.pro @ 25348:75031a22be39 v8.2.3211
patch 8.2.3211: Vim9: argument types are not checked at compile time
Commit: https://github.com/vim/vim/commit/7973de35ba6840b7e106e2e8a8912522e9a2a960
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jul 24 16:16:15 2021 +0200
patch 8.2.3211: Vim9: argument types are not checked at compile time
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Fix type check for matchaddpos().
(Yegappan Lakshmanan, closes #8619)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Jul 2021 16:30:03 +0200 |
parents | e2be9f3c5907 |
children | 1ffa8eb30353 |
line wrap: on
line diff
--- a/src/proto/typval.pro +++ b/src/proto/typval.pro @@ -21,6 +21,7 @@ int check_for_opt_list_arg(typval_T *arg int check_for_dict_arg(typval_T *args, int idx); int check_for_opt_dict_arg(typval_T *args, int idx); int check_for_chan_or_job_arg(typval_T *args, int idx); +int check_for_opt_chan_or_job_arg(typval_T *args, int idx); int check_for_job_arg(typval_T *args, int idx); int check_for_string_or_number_arg(typval_T *args, int idx); int check_for_buffer_arg(typval_T *args, int idx);