diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-28 15:01:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-28 15:01:47 +0000 |
commit | fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e (patch) | |
tree | ab1d515db9ddbdf5158117c26e7db46ae6c8a3c0 | |
parent | ddd815ba2a4191992d0f7d7b2902ba76a0db36ef (diff) | |
download | vim-git-fb80862e49fcbcf47907fc8cdaaf5c41cb9eb06e.tar.gz |
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().
-rw-r--r-- | src/errors.h | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index 6d3d06d26..da45df210 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")); diff --git a/src/version.c b/src/version.c index 3d37eec6a..fff4e6dd3 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4240, +/**/ 4239, /**/ 4238, |