]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1282: Vim9: crash when using CheckScriptFailure() v8.2.1282
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Jul 2020 16:26:30 +0000 (18:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Jul 2020 16:26:30 +0000 (18:26 +0200)
commit6c4bfe4b31e8c5d3c4809536ab6e4835d50f0f67
tree11ed390d58bf488b11d865292e0d6f03f72e718a
parent2d06bfde29bd3a62fc85823d2aa719ef943bd319
patch 8.2.1282: Vim9: crash when using CheckScriptFailure()

Problem:    Vim9: crash when using CheckScriptFailure() in
            Test_vim9script_call_fail_decl().
Solution:   Do not decrement the def_functions len unless the function was
            newly added.
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c