summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2023-09-04 22:30:41 +0200
committerChristian Brabandt <cb@256bit.org>2023-09-04 22:30:41 +0200
commit18143d3111b2122c7a94ca51085a60b3073cb139 (patch)
treec882f6d5b2f9e8f5643ab6c23a8555d0c1cc3373 /src/errors.h
parentdccc29c228f8336ef7dd069a447886639af4458e (diff)
patch 9.0.1867: Vim9: access to interface statics possiblev9.0.1867
Problem: Vim9: access to interface statics possible Solution: Prevent direct access to interface statics closes: #13007 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index c0e98df78b..e719ffde1a 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -3513,5 +3513,6 @@ EXTERN char e_method_str_type_mismatch_expected_str_but_got_str[]
INIT(= N_("E1407: Member \"%s\": type mismatch, expected %s but got %s"));
EXTERN char e_aptypes_is_null_str_nr[]
INIT(= "E1408: Internal error: ap_types or ap_types[idx] is NULL: %s: %d");
-
+EXTERN char e_interface_static_direct_access_str[]
+ INIT(= N_("E1409: Cannot directly access interface \"%s\" static member \"%s\""));
// E1371 - E1399 unused