diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-16 20:01:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-16 20:01:39 +0000 |
commit | 4c8b546da2059865e20902586bb3e0ff07c279a0 (patch) | |
tree | 48f6530068bd15448802dbd076b155ce8b9c8e1f /src/errors.h | |
parent | d597ab00d799aa078be32e6677e01a7582106105 (diff) |
patch 8.2.4582: useless code handling a type declarationv8.2.4582
Problem: Useless code handling a type declaration.
Solution: Remove the code and give an error.
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 b8e9419794..7bc4b1d49f 100644 --- a/src/errors.h +++ b/src/errors.h @@ -3252,4 +3252,6 @@ EXTERN char e_cannot_use_s_backslash_in_vim9_script[] #ifdef FEAT_EVAL EXTERN char e_compiling_closure_without_context_str[] INIT(= N_("E1271: compiling closure without context: %s")); +EXTERN char e_using_type_not_in_script_context_str[] + INIT(= N_("E1272: Using type not in a script context: %s")); #endif |