commit | 7aca5ca6763e50d2c23953b20e30fca7457c9abf | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Feb 07 19:56:43 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Feb 07 19:56:43 2022 +0000 |
tree | a0a1e5077975c095e06f37b668baff7f68a92230 | |
parent | 92368aad613bca700877ccb1725e1cb5a80dd34a [diff] [blame] |
patch 8.2.4322: Vim9: crash when using funcref with closure Problem: Vim9: crash when using funcref with closure. Solution: Keep a reference to the funcref that has the outer context. (closes #9716)
diff --git a/src/version.c b/src/version.c index 97bcfde..c1f90cd 100644 --- a/src/version.c +++ b/src/version.c
@@ -747,6 +747,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4322, +/**/ 4321, /**/ 4320,