0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.4240: error for using flatten() in Vim9 script is unclear

Problem:    Error for using flatten() in Vim9 script is unclear.
Solution:   Add a remark to use flattennew().
This commit is contained in:
Bram Moolenaar
2022-01-28 15:01:47 +00:00
parent ddd815ba2a
commit fb80862e49
2 changed files with 3 additions and 1 deletions

View File

@@ -2944,7 +2944,7 @@ EXTERN char e_cannot_change_arglist_recursively[]
EXTERN char e_missing_return_type[]
INIT(= N_("E1157: Missing return type"));
EXTERN char e_cannot_use_flatten_in_vim9_script[]
INIT(= N_("E1158: Cannot use flatten() in Vim9 script"));
INIT(= N_("E1158: Cannot use flatten() in Vim9 script, use flattennew()"));
#endif
EXTERN char e_cannot_split_window_when_closing_buffer[]
INIT(= N_("E1159: Cannot split a window when closing the buffer"));