mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
eval: assert VAR_LIST branch in filter_map()
This commit is contained in:
@@ -8913,7 +8913,7 @@ static void filter_map(typval_T *argvars, typval_T *rettv, int map)
|
|||||||
}
|
}
|
||||||
hash_unlock(ht);
|
hash_unlock(ht);
|
||||||
} else {
|
} else {
|
||||||
// argvars[0].v_type == VAR_LIST
|
assert(argvars[0].v_type == VAR_LIST);
|
||||||
vimvars[VV_KEY].vv_type = VAR_NUMBER;
|
vimvars[VV_KEY].vv_type = VAR_NUMBER;
|
||||||
|
|
||||||
for (listitem_T *li = tv_list_first(l); li != NULL;) {
|
for (listitem_T *li = tv_list_first(l); li != NULL;) {
|
||||||
|
Reference in New Issue
Block a user