summaryrefslogtreecommitdiffstats
path: root/src/vim9instr.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
commit460ae5dfca31fa627531c263184849976755cf6b (patch)
treed94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/vim9instr.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/vim9instr.c')
-rw-r--r--src/vim9instr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9instr.c b/src/vim9instr.c
index 0483068aa2..49936c37bb 100644
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -757,7 +757,7 @@ generate_GETITEM(cctx_T *cctx, int index, int with_op)
if (type->tt_type != VAR_LIST)
{
// cannot happen, caller has checked the type
- emsg(_(e_listreq));
+ emsg(_(e_list_required));
return FAIL;
}
item_type = type->tt_member;