1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2020-07-23 18:26:30 +02:00
parent 2d06bfde29
commit 6c4bfe4b31
3 changed files with 17 additions and 8 deletions

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1282,
/**/
1281,
/**/