mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.1945: Vim9: missing support for ro-vars in interface
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>
This commit is contained in:
committed by
Christian Brabandt
parent
5277cfaf8a
commit
2dede3dbfa
@@ -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
|
||||
|
Reference in New Issue
Block a user