patch 9.1.1037: Vim9: confusing error when using abstract method via super
Problem: Vim9: confusing error when using abstract method via super
Solution: Display an error when an abstract method is invoked using
super (Ernie Rael)
fixes: #15514
closes: #16478
Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5abc44e3c1
commit
bce60c4742
@ -3619,8 +3619,10 @@ EXTERN char e_class_can_only_be_used_in_script[]
|
||||
INIT(= N_("E1429: Class can only be used in a script"));
|
||||
EXTERN char e_uninitialized_object_var_reference[]
|
||||
INIT(= N_("E1430: Uninitialized object variable '%s' referenced"));
|
||||
EXTERN char e_abstract_method_str_direct[]
|
||||
INIT(= N_("E1431: Abstract method \"%s\" in class \"%s\" cannot be accessed directly"));
|
||||
#endif
|
||||
// E1431 - E1499 unused (reserved for Vim9 class support)
|
||||
// E1432 - E1499 unused (reserved for Vim9 class support)
|
||||
EXTERN char e_cannot_mix_positional_and_non_positional_str[]
|
||||
INIT(= N_("E1500: Cannot mix positional and non-positional arguments: %s"));
|
||||
EXTERN char e_fmt_arg_nr_unused_str[]
|
||||
|
||||
Reference in New Issue
Block a user