mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.3202: Vim9: tests are only executed for legacy script
Problem: Vim9: tests are only executed for legacy script. Solution: Run more tests also for Vim9 script. Fix uncovered problems.
This commit is contained in:
@@ -2711,6 +2711,13 @@ exec_instructions(ectx_T *ectx)
|
||||
else
|
||||
n2 = list_idx_of_item(l, li2);
|
||||
}
|
||||
if (status != FAIL
|
||||
&& tv_idx2->v_type != VAR_SPECIAL
|
||||
&& n2 < n1)
|
||||
{
|
||||
semsg(_(e_listidx), n2);
|
||||
status = FAIL;
|
||||
}
|
||||
if (status != FAIL
|
||||
&& list_unlet_range(l, li, NULL, n1,
|
||||
tv_idx2->v_type != VAR_SPECIAL, n2)
|
||||
|
Reference in New Issue
Block a user