diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 13:10:36 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 13:15:10 +0800 |
commit | 4c276bbd1887c09350fca4bdb355a2afde3ef471 (patch) | |
tree | 87e905f8b0f09576ab55db25c804bd3227c270fd /src/nvim/eval/typval.c | |
parent | d372eedcfa8cae3b20853bfb1489ec8beb825e94 (diff) | |
download | rneovim-4c276bbd1887c09350fca4bdb355a2afde3ef471.tar.gz rneovim-4c276bbd1887c09350fca4bdb355a2afde3ef471.tar.bz2 rneovim-4c276bbd1887c09350fca4bdb355a2afde3ef471.zip |
vim-patch:8.2.0103: using null object with execute() has strange effects
Problem: Using null object with execute() has strange effects.
Solution: Give an error message ofr Job and Channel.
https://github.com/vim/vim/commit/e2a8f0773e91685843c062b1e48259712d5f2213
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval/typval.c')
-rw-r--r-- | src/nvim/eval/typval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index 91be41751e..7c982de61e 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -3806,7 +3806,7 @@ static const char *const str_errors[] = { [VAR_DICT]= N_("E731: using Dictionary as a String"), [VAR_FLOAT]= e_float_as_string, [VAR_BLOB]= N_("E976: using Blob as a String"), - [VAR_UNKNOWN]= N_("E908: using an invalid value as a String"), + [VAR_UNKNOWN]= e_inval_string, }; #undef FUNC_ERROR |