summaryrefslogtreecommitdiff
path: root/src/vim9compile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-20 21:14:15 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-20 21:14:15 +0000
commit397a87ac1c9857eb0d5ec3add69e3b9ab6b0c77c (patch)
tree63860de699019af670a438af1145ff9bda9e795c /src/vim9compile.c
parentefd73ae5d2a533670f562b6df5be2ffeb091185d (diff)
downloadvim-git-397a87ac1c9857eb0d5ec3add69e3b9ab6b0c77c.tar.gz
patch 8.2.4602: Vim9: not enough test coverage for executing :def functionv8.2.4602
Problem: Vim9: not enough test coverage for executing :def function. Solution: Add a few more tests. Fix uncovered problem. Remove dead code.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 06b6c79b9..fde818882 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2238,10 +2238,10 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
generate_NEWDICT(cctx, 0);
break;
case VAR_JOB:
- generate_PUSHJOB(cctx, NULL);
+ generate_PUSHJOB(cctx);
break;
case VAR_CHANNEL:
- generate_PUSHCHANNEL(cctx, NULL);
+ generate_PUSHCHANNEL(cctx);
break;
case VAR_NUMBER:
case VAR_UNKNOWN: