]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0574: tests: missing test for v9.2.0572 v9.2.0574
authorthinca <thinca@gmail.com>
Sun, 31 May 2026 19:43:42 +0000 (19:43 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 31 May 2026 19:47:46 +0000 (19:47 +0000)
commitb16a9ddc281dc11c0f7bd70de6a9d7041d9b2e54
tree8b8a310d0048b139b6a82adaebc44df2443f1f2e
parent38d9a16eba8cdf3377e8b867da805bf369454108
patch 9.2.0574: tests: missing test for v9.2.0572

Problem:  tests: missing test for v9.2.0572 (the patch accidentally
          included some additional unwanted changes from #20372)
          (thinca)
Solution: Add additional test for delfunc
          (thinca)

Patch 9.2.0572 fixed ":call d.key()" and ":delfunction d.key" failing
with E1017 in Vim9 script, but only the :call form was covered by a
regression test.  Add Test_delfunction_dict_funcref to exercise both
"delfunction d.key" and "delfunction d['k2']".

closes: #20372

Signed-off-by: thinca <thinca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_vim9_cmd.vim
src/version.c