1
0
forked from aniani/vim

patch 8.2.3704: Vim9: cannot use a list declaration in a :def function

Problem:    Vim9: cannot use a list declaration in a :def function.
Solution:   Make it work.
This commit is contained in:
Bram Moolenaar
2021-11-30 16:14:49 +00:00
parent 53ba95e4f0
commit ab36e6ae7b
5 changed files with 66 additions and 17 deletions

View File

@@ -366,8 +366,7 @@ EXTERN char e_cannot_assign_to_argument[]
INIT(= N_("E1090: Cannot assign to argument %s"));
EXTERN char e_function_is_not_compiled_str[]
INIT(= N_("E1091: Function is not compiled: %s"));
EXTERN char e_cannot_use_list_for_declaration[]
INIT(= N_("E1092: Cannot use a list for a declaration"));
// E1092 unused
EXTERN char e_expected_nr_items_but_got_nr[]
INIT(= N_("E1093: Expected %d items but got %d"));
EXTERN char e_import_can_only_be_used_in_script[]