From 6c4bfe4b31e8c5d3c4809536ab6e4835d50f0f67 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 23 Jul 2020 18:26:30 +0200 Subject: 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/version.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/version.c') diff --git a/src/version.c b/src/version.c index 4286eb0b3..4ef305162 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1282, /**/ 1281, /**/ -- cgit v1.2.1