diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-09-08 14:57:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-08 14:57:42 +0200 |
commit | fc3b775055c2361e507a1a44008d5a7d37eecf14 (patch) | |
tree | 13683ebfabf7a13db8be1f97ddecab7d4b4e4899 /src/channel.c | |
parent | 80c88eac5a81dd9f1a96fc80cb8aab6c84fe7b86 (diff) |
patch 8.2.3415: Vim9: not all function argument types are properly checkedv8.2.3415
Problem: Vim9: Not all function argument types are properly checked.
Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
closes #8839)
Diffstat (limited to 'src/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channel.c b/src/channel.c index 9c23bf47b9..b46205e675 100644 --- a/src/channel.c +++ b/src/channel.c @@ -1309,7 +1309,7 @@ channel_open_func(typval_T *argvars) if (in_vim9script() && (check_for_string_arg(argvars, 0) == FAIL - || check_for_dict_arg(argvars, 1) == FAIL)) + || check_for_opt_dict_arg(argvars, 1) == FAIL)) return NULL; address = tv_get_string(&argvars[0]); |