comparison src/errors.h @ 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 557a50b0d10b
children 4c683d6c0a9d
comparison
equal deleted inserted replaced
27423:08180df8bb90 27424:b17fe5191b49
2942 INIT(= N_("E1156: Cannot change the argument list recursively")); 2942 INIT(= N_("E1156: Cannot change the argument list recursively"));
2943 #ifdef FEAT_EVAL 2943 #ifdef FEAT_EVAL
2944 EXTERN char e_missing_return_type[] 2944 EXTERN char e_missing_return_type[]
2945 INIT(= N_("E1157: Missing return type")); 2945 INIT(= N_("E1157: Missing return type"));
2946 EXTERN char e_cannot_use_flatten_in_vim9_script[] 2946 EXTERN char e_cannot_use_flatten_in_vim9_script[]
2947 INIT(= N_("E1158: Cannot use flatten() in Vim9 script")); 2947 INIT(= N_("E1158: Cannot use flatten() in Vim9 script, use flattennew()"));
2948 #endif 2948 #endif
2949 EXTERN char e_cannot_split_window_when_closing_buffer[] 2949 EXTERN char e_cannot_split_window_when_closing_buffer[]
2950 INIT(= N_("E1159: Cannot split a window when closing the buffer")); 2950 INIT(= N_("E1159: Cannot split a window when closing the buffer"));
2951 #ifdef FEAT_EVAL 2951 #ifdef FEAT_EVAL
2952 EXTERN char e_cannot_use_default_for_variable_arguments[] 2952 EXTERN char e_cannot_use_default_for_variable_arguments[]