Mercurial > vim
diff src/globals.h @ 23592:2322b643e329 v8.2.2338
patch 8.2.2338: Vim9: no error if using job_info() result wrongly
Commit: https://github.com/vim/vim/commit/64ed4d4398e92ac56a9bbd66d5ec992dd4c335f7
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 12 21:22:31 2021 +0100
patch 8.2.2338: Vim9: no error if using job_info() result wrongly
Problem: Vim9: no error if using job_info() result wrongly.
Solution: Adjust return type on number of arguments. (closes https://github.com/vim/vim/issues/7667)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Jan 2021 21:30:03 +0100 |
parents | bb29b09902d5 |
children | 0bd44e94dd14 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -433,6 +433,7 @@ EXTERN type_T t_dict_empty INIT6(VAR_DIC EXTERN type_T t_list_bool INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_bool, NULL); EXTERN type_T t_list_number INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_number, NULL); EXTERN type_T t_list_string INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_string, NULL); +EXTERN type_T t_list_job INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_job, NULL); EXTERN type_T t_list_dict_any INIT6(VAR_LIST, 0, 0, TTFLAG_STATIC, &t_dict_any, NULL); EXTERN type_T t_dict_bool INIT6(VAR_DICT, 0, 0, TTFLAG_STATIC, &t_bool, NULL);