diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-09-27 19:02:01 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-27 19:02:01 +0200 |
commit | 2dede3dbfa3cb52f464f942d46d3ec0f66e3e354 (patch) | |
tree | 95218eeb382aa0e51be357af311157279a53b1bd /src/errors.h | |
parent | 5277cfaf8afe847b7d4dcde6057fbecb001ab64e (diff) |
patch 9.0.1945: Vim9: missing support for ro-vars in interfacev9.0.1945
Problem: Vim9: missing support for ro-vars in interface
Solution: Support only read-only object variables in an interface,
add additional checks when parsing class definitions.
closes: #13183
cloess: #13184
cloess: #13185.
closes: #13188
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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h index 0361d71345..7260c30cbf 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3523,6 +3523,12 @@ EXTERN char e_class_method_str_accessible_only_using_class_str[] INIT(= N_("E1385: Class method \"%s\" accessible only using class \"%s\"")); EXTERN char e_object_method_str_accessible_only_using_object_str[] INIT(= N_("E1386: Object method \"%s\" accessible only using class \"%s\" object")); +EXTERN char e_public_member_not_supported_in_interface[] + INIT(= N_("E1387: Public variable not supported in an interface")); +EXTERN char e_public_keyword_not_supported_for_method[] + INIT(= N_("E1388: Public keyword not supported for a method")); +EXTERN char e_missing_name_after_implements[] + INIT(= N_("E1389: Missing name after implements")); #endif EXTERN char e_cannot_mix_positional_and_non_positional_str[] INIT(= N_("E1400: Cannot mix positional and non-positional arguments: %s")); @@ -3538,4 +3544,4 @@ EXTERN char e_invalid_format_specifier_str[] INIT(= N_("E1405: 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"); -// E1387 - E1399 unused +// E1390 - E1399 unused |