comparison src/errors.h @ 26585:0d2a709e2ff0 v8.2.3822

patch 8.2.3822: leaking memory in map() and filter(), no string in Vim9 Commit: https://github.com/vim/vim/commit/2d877599ee1cede063ef4abe3a2272e67c116238 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 16 08:21:09 2021 +0000 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)
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Dec 2021 09:30:04 +0100
parents 06693d1afc48
children fac6673086df
comparison
equal deleted inserted replaced
26584:b1299fc6445b 26585:0d2a709e2ff0
758 INIT(= N_("E1248: Closure called from invalid context")); 758 INIT(= N_("E1248: Closure called from invalid context"));
759 EXTERN char e_highlight_group_name_too_long[] 759 EXTERN char e_highlight_group_name_too_long[]
760 INIT(= N_("E1249: Highlight group name too long")); 760 INIT(= N_("E1249: Highlight group name too long"));
761 EXTERN char e_argument_of_str_must_be_list_string_dictionary_or_blob[] 761 EXTERN char e_argument_of_str_must_be_list_string_dictionary_or_blob[]
762 INIT(= N_("E1250: Argument of %s must be a List, String, Dictionary or Blob")); 762 INIT(= N_("E1250: Argument of %s must be a List, String, Dictionary or Blob"));
763 EXTERN char e_list_dict_blob_or_string_required_for_argument_nr[]
764 INIT(= N_("E1228: List, Dictionary, Blob or String required for argument %d"));