mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2224: Vim9: crash if script reloaded with different variable type
Problem: Vim9: crash if script reloaded with different variable type. Solution: Check the type when accessing the variable.
This commit is contained in:
@@ -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"));
|
||||
|
Reference in New Issue
Block a user