0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0343: Vim9: using wrong instruction, limited test coverage

Problem:    Vim9: using wrong instruction, limited test coverage.
Solution:   Use ISN_PUSHJOB.  Add a few more tests.
This commit is contained in:
Bram Moolenaar
2020-03-01 17:55:14 +01:00
parent 0546d7df13
commit f51cb4e08e
5 changed files with 64 additions and 2 deletions

View File

@@ -666,7 +666,7 @@ generate_PUSHJOB(cctx_T *cctx, job_T *job)
{
isn_T *isn;
if ((isn = generate_instr_type(cctx, ISN_PUSHCHANNEL, &t_channel)) == NULL)
if ((isn = generate_instr_type(cctx, ISN_PUSHJOB, &t_channel)) == NULL)
return FAIL;
isn->isn_arg.job = job;