diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-25 19:29:21 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-25 19:29:21 +0000 |
commit | 223d0a6bc8dc68039ceb6660de9576fafe178d73 (patch) | |
tree | 0f9028c48b6ba36d5a093ac91bbe99ccc080a075 /src/errors.h | |
parent | 5cd647935d0834b3064aa36384b8f6730fadadd6 (diff) |
patch 8.2.3894: Vim9: no proper type check for first argument of call()v8.2.3894
Problem: Vim9: no proper type check for first argument of call().
Solution: Add specific type check.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index e5b8cd218e..e39e4044ad 100644 --- a/src/errors.h +++ b/src/errors.h @@ -852,3 +852,5 @@ EXTERN char e_cannot_use_script_variable_in_for_loop[] INIT(= N_("E1254: Cannot use script variable in for loop")); EXTERN char e_cmd_mapping_must_end_with_cr[] INIT(= N_("E1255: <Cmd> mapping must end with <CR>")); +EXTERN char e_string_or_function_required_for_argument_nr[] + INIT(= N_("E1256: String or function required for argument %d")); |