patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9
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)
diff --git a/src/errors.h b/src/errors.h
index 156e194..2d09ef5 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -760,3 +760,5 @@
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"));