comparison src/blob.c @ 26394:43d196ca5e7a v8.2.3728

patch 8.2.3728: internal error when passing range() to list2blob() Commit: https://github.com/vim/vim/commit/04b7b4bf7fe57375bf3c4ed3fd087fc0bb0147ba Author: kuuote <znmxodq1@gmail.com> Date: Fri Dec 3 13:57:00 2021 +0000 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 https://github.com/vim/vim/issues/9262)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Dec 2021 15:00:05 +0100
parents 8d55e978f95b
children b18f3b0f317c
comparison
equal deleted inserted replaced
26393:070e77657c21 26394:43d196ca5e7a
524 524
525 l = argvars->vval.v_list; 525 l = argvars->vval.v_list;
526 if (l == NULL) 526 if (l == NULL)
527 return; 527 return;
528 528
529 CHECK_LIST_MATERIALIZE(l);
529 FOR_ALL_LIST_ITEMS(l, li) 530 FOR_ALL_LIST_ITEMS(l, li)
530 { 531 {
531 int error; 532 int error;
532 varnumber_T n; 533 varnumber_T n;
533 534