summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2023-11-02 20:43:57 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-02 20:43:57 +0100
commitef9e3f8924363939ff45fa385f50f57146ff365c (patch)
tree754b8f9aac9f3629de4e1f47a4975e4f56bbe311 /src/errors.h
parent1858e2b22ad168b1fd44a4efcd3a2b6cd9f6772d (diff)
patch 9.0.2084: Vim9: abstract static methods are possiblev9.0.2084
Problem: Vim9: abstract static methods are possible Solution: Disallow abstract static methods fixes: #13462 closes: #13466 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errors.h b/src/errors.h
index f8e1dfe911..26ecf09404 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3494,8 +3494,8 @@ EXTERN char e_duplicate_variable_str[]
INIT(= N_("E1369: Duplicate variable: %s"));
EXTERN char e_cannot_define_new_method_as_static[]
INIT(= N_("E1370: Cannot define a \"new\" method as static"));
-EXTERN char e_abstract_must_be_followed_by_def_or_static[]
- INIT(= N_("E1371: Abstract must be followed by \"def\" or \"static\""));
+EXTERN char e_abstract_must_be_followed_by_def[]
+ INIT(= N_("E1371: Abstract must be followed by \"def\""));
EXTERN char e_abstract_method_in_concrete_class[]
INIT(= N_("E1372: Abstract method \"%s\" cannot be defined in a concrete class"));
EXTERN char e_abstract_method_str_not_found[]