mirror of
https://github.com/neovim/neovim.git
synced 2025-10-15 22:36:09 +00:00
*: Hide list implementation in other files as well
This commit is contained in:
@@ -789,7 +789,7 @@ bool object_to_vim(Object obj, typval_T *tv, Error *err)
|
||||
Object item = obj.data.array.items[i];
|
||||
listitem_T *li = tv_list_item_alloc();
|
||||
|
||||
if (!object_to_vim(item, &li->li_tv, err)) {
|
||||
if (!object_to_vim(item, TV_LIST_ITEM_TV(li), err)) {
|
||||
// cleanup
|
||||
tv_list_item_free(li);
|
||||
tv_list_free(list);
|
||||
|
Reference in New Issue
Block a user