mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1178: a child class cannot override functions from a base class
Problem: A child class cannot override functions from a base class. Solution: Allow overriding and implement "super".
This commit is contained in:
@@ -3432,4 +3432,10 @@ EXTERN char e_class_name_not_found_str[]
|
||||
INIT(= N_("E1353: Class name not found: %s"));
|
||||
EXTERN char e_cannot_extend_str[]
|
||||
INIT(= N_("E1354: Cannot extend %s"));
|
||||
EXTERN char e_duplicate_function_str[]
|
||||
INIT(= N_("E1355: Duplicate function: %s"));
|
||||
EXTERN char e_super_must_be_followed_by_dot[]
|
||||
INIT(= N_("E1356: \"super\" must be followed by a dot"));
|
||||
EXTERN char e_using_super_not_in_class_function[]
|
||||
INIT(= N_("E1357: Using \"super\" not in a class function"));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user