Patch 8.2.4240

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 28, 2022, 10:04:09 AM1/28/22
to vim...@googlegroups.com

Patch 8.2.4240
Problem: Error for using flatten() in Vim9 script is unclear.
Solution: Add a remark to use flattennew().
Files: src/errors.h


*** ../vim-8.2.4239/src/errors.h 2022-01-26 21:01:11.192928481 +0000
--- src/errors.h 2022-01-28 15:01:31.633334386 +0000
***************
*** 2943,2949 ****
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"));
#endif
EXTERN char e_cannot_split_window_when_closing_buffer[]
INIT(= N_("E1159: Cannot split a window when closing the buffer"));
--- 2943,2949 ----
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, use flattennew()"));
#endif
EXTERN char e_cannot_split_window_when_closing_buffer[]
INIT(= N_("E1159: Cannot split a window when closing the buffer"));
*** ../vim-8.2.4239/src/version.c 2022-01-28 14:39:54.321663701 +0000
--- src/version.c 2022-01-28 15:00:10.058574759 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4240,
/**/

--
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of Camelot.
King of all Britons, defeator of the Saxons, sovereign of all England!
[Pause]
SOLDIER: Get away!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages