summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-26 20:09:15 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-26 20:09:15 +0100
commit07a65d26e7d76ad22d6ef23b50c0faa25e435e02 (patch)
tree535d92696d0537917b742d8655e2d09643a38fb8 /src/errors.h
parentcdc40c43f1008bda2f173d3a13606236679e8067 (diff)
downloadvim-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.h2
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"));