comparison src/proto/typval.pro @ 30015:adb0de8be4ce v9.0.0345

patch 9.0.0345: error message for list argument could be clearer Commit: https://github.com/vim/vim/commit/d83392a43a48c566c0f3b76382a3648584dae32b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 1 12:22:46 2022 +0100 patch 9.0.0345: error message for list argument could be clearer Problem: Error message for list argument could be clearer. Solution: Include the argument number. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11027)
author Bram Moolenaar <Bram@vim.org>
date Thu, 01 Sep 2022 13:30:05 +0200
parents 86eb4aba16c3
children ba22d5536d3e
comparison
equal deleted inserted replaced
30014:3fb163e2ef6c 30015:adb0de8be4ce
18 int check_for_float_or_nr_arg(typval_T *args, int idx); 18 int check_for_float_or_nr_arg(typval_T *args, int idx);
19 int check_for_bool_arg(typval_T *args, int idx); 19 int check_for_bool_arg(typval_T *args, int idx);
20 int check_for_opt_bool_arg(typval_T *args, int idx); 20 int check_for_opt_bool_arg(typval_T *args, int idx);
21 int check_for_blob_arg(typval_T *args, int idx); 21 int check_for_blob_arg(typval_T *args, int idx);
22 int check_for_list_arg(typval_T *args, int idx); 22 int check_for_list_arg(typval_T *args, int idx);
23 int check_for_nonnull_list_arg(typval_T *args, int idx);
23 int check_for_opt_list_arg(typval_T *args, int idx); 24 int check_for_opt_list_arg(typval_T *args, int idx);
24 int check_for_dict_arg(typval_T *args, int idx); 25 int check_for_dict_arg(typval_T *args, int idx);
25 int check_for_nonnull_dict_arg(typval_T *args, int idx); 26 int check_for_nonnull_dict_arg(typval_T *args, int idx);
26 int check_for_opt_dict_arg(typval_T *args, int idx); 27 int check_for_opt_dict_arg(typval_T *args, int idx);
27 int check_for_chan_or_job_arg(typval_T *args, int idx); 28 int check_for_chan_or_job_arg(typval_T *args, int idx);