1
0
forked from aniani/vim

patch 8.2.3728: internal error when passing range() to list2blob()

Problem:    Internal error when passing range() to list2blob().
Solution:   Materialize the list first. (closes #9262)
This commit is contained in:
kuuote
2021-12-03 13:57:00 +00:00
committed by Bram Moolenaar
parent c14b57c079
commit 04b7b4bf7f
3 changed files with 6 additions and 0 deletions

View File

@@ -526,6 +526,7 @@ f_list2blob(typval_T *argvars, typval_T *rettv)
if (l == NULL)
return;
CHECK_LIST_MATERIALIZE(l);
FOR_ALL_LIST_ITEMS(l, li)
{
int error;