comparison src/vim9execute.c @ 25330:820395d1137b v8.2.3202

patch 8.2.3202: Vim9: tests are only executed for legacy script Commit: https://github.com/vim/vim/commit/5dd839ce20466eea52e59ecf86456f1ab370d2bd Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 22 18:48:53 2021 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 22 Jul 2021 19:00:05 +0200
parents cfbf40f749b0
children 0c5b84c5862a
comparison
equal deleted inserted replaced
25329:d62fad3c95ae 25330:820395d1137b
2708 2708
2709 if (li2 == NULL) 2709 if (li2 == NULL)
2710 status = FAIL; 2710 status = FAIL;
2711 else 2711 else
2712 n2 = list_idx_of_item(l, li2); 2712 n2 = list_idx_of_item(l, li2);
2713 }
2714 if (status != FAIL
2715 && tv_idx2->v_type != VAR_SPECIAL
2716 && n2 < n1)
2717 {
2718 semsg(_(e_listidx), n2);
2719 status = FAIL;
2713 } 2720 }
2714 if (status != FAIL 2721 if (status != FAIL
2715 && list_unlet_range(l, li, NULL, n1, 2722 && list_unlet_range(l, li, NULL, n1,
2716 tv_idx2->v_type != VAR_SPECIAL, n2) 2723 tv_idx2->v_type != VAR_SPECIAL, n2)
2717 == FAIL) 2724 == FAIL)