comparison src/evalfunc.c @ 29978:34151eb6ae25 v9.0.0327

patch 9.0.0327: items() does not work on a list Commit: https://github.com/vim/vim/commit/976f859763b215050a03248dbc2bb62fa5d0d059 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 30 14:34:52 2022 +0100 patch 9.0.0327: items() does not work on a list Problem: items() does not work on a list. (Sergey Vlasov) Solution: Make items() work on a list. (closes https://github.com/vim/vim/issues/11013)
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Aug 2022 15:45:03 +0200
parents d8fc1effa724
children 0ad8b72af148
comparison
equal deleted inserted replaced
29977:b6c19db0298b 29978:34151eb6ae25
2027 ret_number, MATH_FUNC(f_isinf)}, 2027 ret_number, MATH_FUNC(f_isinf)},
2028 {"islocked", 1, 1, FEARG_1, arg1_string, 2028 {"islocked", 1, 1, FEARG_1, arg1_string,
2029 ret_number_bool, f_islocked}, 2029 ret_number_bool, f_islocked},
2030 {"isnan", 1, 1, FEARG_1, arg1_float_or_nr, 2030 {"isnan", 1, 1, FEARG_1, arg1_float_or_nr,
2031 ret_number_bool, MATH_FUNC(f_isnan)}, 2031 ret_number_bool, MATH_FUNC(f_isnan)},
2032 {"items", 1, 1, FEARG_1, arg1_dict_any, 2032 {"items", 1, 1, FEARG_1, arg1_list_or_dict,
2033 ret_list_items, f_items}, 2033 ret_list_items, f_items},
2034 {"job_getchannel", 1, 1, FEARG_1, arg1_job, 2034 {"job_getchannel", 1, 1, FEARG_1, arg1_job,
2035 ret_channel, JOB_FUNC(f_job_getchannel)}, 2035 ret_channel, JOB_FUNC(f_job_getchannel)},
2036 {"job_info", 0, 1, FEARG_1, arg1_job, 2036 {"job_info", 0, 1, FEARG_1, arg1_job,
2037 ret_job_info, JOB_FUNC(f_job_info)}, 2037 ret_job_info, JOB_FUNC(f_job_info)},