Mercurial > vim
diff src/vim9compile.c @ 19572:6b6e97d0185e v8.2.0343
patch 8.2.0343: Vim9: using wrong instruction, limited test coverage
Commit: https://github.com/vim/vim/commit/f51cb4e08ef904d137c27fe7cddb4702d8dcb2a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 1 17:55:14 2020 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Mar 2020 18:00:04 +0100 |
parents | ec1eeb1b69e2 |
children | aae19dd172c0 |
line wrap: on
line diff
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -666,7 +666,7 @@ generate_PUSHJOB(cctx_T *cctx, job_T *jo { 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;