summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorErnie Rael <errael@raelity.com>2023-11-11 08:53:32 +0100
committerChristian Brabandt <cb@256bit.org>2023-11-11 08:53:32 +0100
commit03042a2753e3e6ac971045a8ce256d709214710e (patch)
treec05b42382c4bc1bb7c9c2faae1a9f6d01d43bf52 /src/eval.c
parent4b0018feca3a75c7ad3d88360ae197af09e267ee (diff)
patch 9.0.2096: Vim9: confusing usage of privatev9.0.2096
Problem: Vim9: confusing usage of private Solution: clarify and use protected keyword instead [vim9class] document `_` as protected instead of private fixes #13504 closes: #13520 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index ea57cde663..0579a85f69 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1112,7 +1112,7 @@ get_lval_check_access(
switch (om->ocm_access)
{
case VIM_ACCESS_PRIVATE:
- msg = e_cannot_access_private_variable_str;
+ msg = e_cannot_access_protected_variable_str;
break;
case VIM_ACCESS_READ:
// If [idx] or .key following, read only OK.