diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-26 20:09:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-26 20:09:15 +0100 |
commit | 07a65d26e7d76ad22d6ef23b50c0faa25e435e02 (patch) | |
tree | 535d92696d0537917b742d8655e2d09643a38fb8 /src/errors.h | |
parent | cdc40c43f1008bda2f173d3a13606236679e8067 (diff) | |
download | vim-git-07a65d26e7d76ad22d6ef23b50c0faa25e435e02.tar.gz |
patch 8.2.2224: Vim9: crash if script reloaded with different variable typev8.2.2224
Problem: Vim9: crash if script reloaded with different variable type.
Solution: Check the type when accessing the variable.
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 b0b4194ca..65450cefd 100644 --- a/src/errors.h +++ b/src/errors.h @@ -329,3 +329,5 @@ EXTERN char e_cannot_index_str[] INIT(= N_("E1148: Cannot index a %s")); EXTERN char e_script_variable_invalid_after_reload_in_function_str[] INIT(= N_("E1149: Script variable is invalid after reload in function %s")); +EXTERN char e_script_variable_type_changed[] + INIT(= N_("E1150: Script variable type changed")); |