summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-28 15:01:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-28 15:01:47 +0000
commitfb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (patch)
treeab1d515db9ddbdf5158117c26e7db46ae6c8a3c0 /src/errors.h
parentddd815ba2a4191992d0f7d7b2902ba76a0db36ef (diff)
patch 8.2.4240: error for using flatten() in Vim9 script is unclearv8.2.4240
Problem: Error for using flatten() in Vim9 script is unclear. Solution: Add a remark to use flattennew().
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 6d3d06d26b..da45df2100 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -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"));