To: vim_dev@googlegroups.com Subject: Patch 8.2.4021 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4021 (after 8.2.4019) Problem: Missing part of the :import changes. Solution: Add changes in vim9cmds.c. Files: src/vim9cmds.c *** ../vim-8.2.4020/src/vim9cmds.c 2022-01-04 15:16:57.883864877 +0000 --- src/vim9cmds.c 2022-01-06 17:23:53.069733766 +0000 *************** *** 141,157 **** // ret = compile_lhs(p, &lhs, CMD_unlet, FALSE, 0, cctx); ! // : unlet an indexed item ! if (!lhs.lhs_has_index) { ! iemsg("called compile_lhs() without an index"); ! ret = FAIL; ! } ! else ! { ! // Use the info in "lhs" to unlet the item at the index in the ! // list or dict. ! ret = compile_assign_unlet(p, &lhs, FALSE, &t_void, cctx); } vim_free(lhs.lhs_name); --- 141,157 ---- // ret = compile_lhs(p, &lhs, CMD_unlet, FALSE, 0, cctx); ! // Use the info in "lhs" to unlet the item at the index in the ! // list or dict. ! if (ret == OK) { ! if (!lhs.lhs_has_index) ! { ! semsg(_(e_cannot_unlet_imported_item_str), p); ! ret = FAIL; ! } ! else ! ret = compile_assign_unlet(p, &lhs, FALSE, &t_void, cctx); } vim_free(lhs.lhs_name); *** ../vim-8.2.4020/src/version.c 2022-01-06 21:31:14.559316425 +0000 --- src/version.c 2022-01-06 21:37:53.370135715 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4021, /**/ -- hundred-and-one symptoms of being an internet addict: 242. You turn down a better-paying job because it doesn't come with a free e-mail account. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///