Mercurial > vim
diff src/proto/job.pro @ 24812:8fdf839af1f4 v8.2.2944
patch 8.2.2944: Vim9: no error when using job or channel as a string
Commit: https://github.com/vim/vim/commit/1328bde9d406aa1292e92673fa8a026889424e79
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 5 20:51:38 2021 +0200
patch 8.2.2944: Vim9: no error when using job or channel as a string
Problem: Vim9: no error when using job or channel as a string.
Solution: Be more strict about conversion to string. (closes https://github.com/vim/vim/issues/8312)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Jun 2021 21:00:03 +0200 |
parents | 2cc0de1e05a6 |
children | 0082503ff2ff |
line wrap: on
line diff
--- a/src/proto/job.pro +++ b/src/proto/job.pro @@ -34,4 +34,5 @@ void f_job_setoptions(typval_T *argvars, void f_job_start(typval_T *argvars, typval_T *rettv); void f_job_status(typval_T *argvars, typval_T *rettv); void f_job_stop(typval_T *argvars, typval_T *rettv); +char_u *job_to_string_buf(typval_T *varp, char_u *buf); /* vim: set ft=c : */