Mercurial > vim
changeset 27424:b17fe5191b49 v8.2.4240
patch 8.2.4240: error for using flatten() in Vim9 script is unclear
Commit: https://github.com/vim/vim/commit/fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 28 15:01:47 2022 +0000
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Jan 2022 16:15:03 +0100 |
parents | 08180df8bb90 |
children | b5bd6c851b8a |
files | src/errors.h src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -2944,7 +2944,7 @@ EXTERN char e_cannot_change_arglist_recu 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"));