comparison src/proto/typval.pro @ 29994:86eb4aba16c3 v9.0.0335

patch 9.0.0335: checks for Dictionary argument often give a vague error Commit: https://github.com/vim/vim/commit/04c4c5746e15884768d2cb41370c3276a196cd4c Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Tue Aug 30 19:48:24 2022 +0100 patch 9.0.0335: checks for Dictionary argument often give a vague error Problem: Checks for Dictionary argument often give a vague error message. Solution: Give a useful error message. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11009)
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Aug 2022 21:00:05 +0200
parents 3626ca6a20ea
children adb0de8be4ce
comparison
equal deleted inserted replaced
29993:8dd1900432a0 29994:86eb4aba16c3
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_opt_list_arg(typval_T *args, int idx); 23 int check_for_opt_list_arg(typval_T *args, int idx);
24 int check_for_dict_arg(typval_T *args, int idx); 24 int check_for_dict_arg(typval_T *args, int idx);
25 int check_for_nonnull_dict_arg(typval_T *args, int idx);
25 int check_for_opt_dict_arg(typval_T *args, int idx); 26 int check_for_opt_dict_arg(typval_T *args, int idx);
26 int check_for_chan_or_job_arg(typval_T *args, int idx); 27 int check_for_chan_or_job_arg(typval_T *args, int idx);
27 int check_for_opt_chan_or_job_arg(typval_T *args, int idx); 28 int check_for_opt_chan_or_job_arg(typval_T *args, int idx);
28 int check_for_job_arg(typval_T *args, int idx); 29 int check_for_job_arg(typval_T *args, int idx);
29 int check_for_opt_job_arg(typval_T *args, int idx); 30 int check_for_opt_job_arg(typval_T *args, int idx);