commit | 6c4bfe4b31e8c5d3c4809536ab6e4835d50f0f67 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 18:26:30 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jul 23 18:26:30 2020 +0200 |
tree | 11ed390d58bf488b11d865292e0d6f03f72e718a | |
parent | 2d06bfde29bd3a62fc85823d2aa719ef943bd319 [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 4286eb0..4ef3051 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1282, +/**/ 1281, /**/ 1280,