To: vim_dev@googlegroups.com Subject: Patch 8.2.4240 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///