mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.1813: Vim9: can assign wrong type to script dict
Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson) Solution: Check the type if known.
This commit is contained in:
@@ -4055,6 +4055,7 @@ typedef struct lval_S
|
||||
dict_T *ll_dict; // The Dictionary or NULL
|
||||
dictitem_T *ll_di; // The dictitem or NULL
|
||||
char_u *ll_newkey; // New key for Dict in alloc. mem or NULL.
|
||||
type_T *ll_valtype; // type expected for the value or NULL
|
||||
blob_T *ll_blob; // The Blob or NULL
|
||||
} lval_T;
|
||||
|
||||
|
Reference in New Issue
Block a user