]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3351: Vim9: using a function by name may delete it v8.2.3351
authorBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 14:08:36 +0000 (16:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 15 Aug 2021 14:08:36 +0000 (16:08 +0200)
commitb033ee2ddfa8513b57111a56d6af9e45c41f7d1e
treee9c9f0d88d53dfb5ddfd116d9a0eb4c48a2e639b
parenta401bba0805856e295c213aa504648084dae7e24
patch 8.2.3351: Vim9: using a function by name may delete it

Problem:    Vim9: using a function by name may delete it. (Naohiro Ono)
Solution:   Increment the reference count when using a function by name.
            (closes #8760)
src/evalvars.c
src/testdir/test_vim9_func.vim
src/version.c