1
0
forked from aniani/vim

patch 8.2.2942: Vim9: error when calling function with too few arguments

Problem:    Vim9: internal error when calling function with too few arguments
Solution:   Check for argument count to be too few. (closes #8325)
This commit is contained in:
Bram Moolenaar
2021-06-05 18:15:09 +02:00
parent b288ba9f1d
commit 8da6d6db34
4 changed files with 23 additions and 0 deletions

View File

@@ -419,3 +419,7 @@ EXTERN char e_cannot_open_terminal_from_command_line_window[]
INIT(= N_("E1188: Cannot open a terminal from the command line window"));
EXTERN char e_cannot_use_legacy_with_command_str[]
INIT(= N_("E1189: Cannot use :legacy with this command: %s"));
EXTERN char e_one_argument_too_few[]
INIT(= N_("E1190: One argument too few"));
EXTERN char e_nr_arguments_too_few[]
INIT(= N_("E1190: %d arguments too few"));