diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-26 15:09:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-26 15:09:30 +0200 |
commit | 30fd8204cecb317d842b964d624d492088d6d15f (patch) | |
tree | 0df8a56d4a3c20098586020bc35b5e6e0b681894 /src/errors.h | |
parent | 273af497cac345897cf6369baa87a070876a5815 (diff) |
patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744
Problem: Vim9: using ":const!" is weird.
Solution: Use "var" - "final" - "const" like Dart. "let" still works for
now.
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index 0246fa103a..34c47ca5b0 100644 --- a/src/errors.h +++ b/src/errors.h @@ -270,4 +270,8 @@ EXTERN char e_variable_is_locked_str[] INIT(= N_("E1122: Variable is locked: %s")); EXTERN char e_missing_comma_before_argument_str[] INIT(= N_("E1123: Missing comma before argument: %s")); +EXTERN char e_str_cannot_be_used_in_legacy_vim_script[] + INIT(= N_("E1124: \"%s\" cannot be used in legacy Vim script")); +EXTERN char e_final_requires_a_value[] + INIT(= N_("E1125: Final requires a value")); #endif |