diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-02 16:38:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-02 16:38:52 +0000 |
commit | 69c76171f1a78b829196f72d7010fbe1d9ad2944 (patch) | |
tree | 290a6d42ad5354271b42c128bf81e37217a79f16 /src/errors.h | |
parent | f8bc0ce2671d7f7f73760f665b52e4f00a1bbcac (diff) |
patch 8.2.3720: Vim9: Internal error when invoking closure in legacy contextv8.2.3720
Problem: Vim9: Internal error when invoking closure in legacy context.
Solution: Give a more appropriate error message. (closes #9251)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index e09ef53dce..1d6a3a3c66 100644 --- a/src/errors.h +++ b/src/errors.h @@ -689,3 +689,5 @@ EXTERN char e_cannot_find_variable_to_unlock_str[] INIT(= N_("E1246: Cannot find variable to (un)lock: %s")); EXTERN char e_line_number_out_of_range[] INIT(= N_("E1247: Line number out of range")); +EXTERN char e_closure_called_from_invalid_context[] + INIT(= N_("E1248: Closure called from invalid context")); |