diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-09-28 22:46:37 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-28 22:46:37 +0200 |
commit | 413f83990f15d5d59d27ab741670f527a7a3feb8 (patch) | |
tree | a2ed23ee4e864430e0ebf59a0f33e864ecb843ef /src/errors.h | |
parent | f057aca1cc2480e820b3ca5d8d407e3976369777 (diff) |
patch 9.0.1950: Vim9: error codes spread outv9.0.1950
Problem: Vim9: error codes spread out
Solution: group them together and reserve 100
more for future use
Reserve 100 error codes for future enhancements to the Vim9 class
support
closes: #13207
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/errors.h b/src/errors.h index baf36d5e4a..975e033b53 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3532,18 +3532,20 @@ EXTERN char e_missing_name_after_implements[] EXTERN char e_cannot_use_an_object_variable_except_with_the_new_method_str[] INIT(= N_("E1390: Cannot use an object variable \"this.%s\" except with the \"new\" method")); #endif +// E1391 - E1499 unused (reserved for Vim9 class support) EXTERN char e_cannot_mix_positional_and_non_positional_str[] - INIT(= N_("E1400: Cannot mix positional and non-positional arguments: %s")); + INIT(= N_("E1500: Cannot mix positional and non-positional arguments: %s")); EXTERN char e_fmt_arg_nr_unused_str[] - INIT(= N_("E1401: format argument %d unused in $-style format: %s")); + INIT(= N_("E1501: format argument %d unused in $-style format: %s")); EXTERN char e_positional_num_field_spec_reused_str_str[] - INIT(= N_("E1402: Positional argument %d used as field width reused as different type: %s/%s")); + INIT(= N_("E1502: Positional argument %d used as field width reused as different type: %s/%s")); EXTERN char e_positional_nr_out_of_bounds_str[] - INIT(= N_("E1403: Positional argument %d out of bounds: %s")); + INIT(= N_("E1503: Positional argument %d out of bounds: %s")); EXTERN char e_positional_arg_num_type_inconsistent_str_str[] - INIT(= N_("E1404: Positional argument %d type used inconsistently: %s/%s")); + INIT(= N_("E1504: Positional argument %d type used inconsistently: %s/%s")); EXTERN char e_invalid_format_specifier_str[] - INIT(= N_("E1405: Invalid format specifier: %s")); + INIT(= N_("E1505: Invalid format specifier: %s")); EXTERN char e_aptypes_is_null_nr_str[] - INIT(= "E1408: Internal error: ap_types or ap_types[idx] is NULL: %d: %s"); -// E1391 - E1399 unused + INIT(= "E1520: Internal error: ap_types or ap_types[idx] is NULL: %d: %s"); + +// E1506 - E1519 unused |