Mercurial > vim
diff src/errors.h @ 26731:7f4cc4e58f75 v8.2.3894
patch 8.2.3894: Vim9: no proper type check for first argument of call()
Commit: https://github.com/vim/vim/commit/223d0a6bc8dc68039ceb6660de9576fafe178d73
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 25 19:29:21 2021 +0000
patch 8.2.3894: Vim9: no proper type check for first argument of call()
Problem: Vim9: no proper type check for first argument of call().
Solution: Add specific type check.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 Dec 2021 20:30:03 +0100 |
parents | 3f209f13883d |
children | 3a2b222107a6 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -852,3 +852,5 @@ EXTERN char e_cannot_use_script_variable 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"));