summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-16 08:21:09 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-16 08:21:09 +0000
commit2d877599ee1cede063ef4abe3a2272e67c116238 (patch)
tree9dc9b25997f03c760a6f8f9e05a52c79db028cfa /src/errors.h
parent19569ca6d805de7a2ac95ee7b0c52475a9d5d851 (diff)
patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9v8.2.3822
Problem: Leaking memory in map() and filter(), cannot use a string argument in Vim9 script. Solution: Fix the leak, adjust the argument check, also run the tests as Vim9 script. (Yegappan Lakshmanan, closes #9354)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 156e1949fb..2d09ef500f 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -760,3 +760,5 @@ EXTERN char e_highlight_group_name_too_long[]
INIT(= N_("E1249: Highlight group name too long"));
EXTERN char e_argument_of_str_must_be_list_string_dictionary_or_blob[]
INIT(= N_("E1250: Argument of %s must be a List, String, Dictionary or Blob"));
+EXTERN char e_list_dict_blob_or_string_required_for_argument_nr[]
+ INIT(= N_("E1228: List, Dictionary, Blob or String required for argument %d"));