forked from aniani/vim
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:
@@ -1327,6 +1327,7 @@ generate_VIM9SCRIPT(
|
||||
sref->sref_sid = sid;
|
||||
sref->sref_idx = idx;
|
||||
sref->sref_seq = si->sn_script_seq;
|
||||
sref->sref_type = type;
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user