Mercurial > vim
comparison src/version.c @ 27591:d91be28bbdbb v8.2.4322
patch 8.2.4322: Vim9: crash when using funcref with closure
Commit: https://github.com/vim/vim/commit/7aca5ca6763e50d2c23953b20e30fca7457c9abf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 7 19:56:43 2022 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 21:00:02 +0100 |
parents | ecea41486e8a |
children | 8c7836f8668d |
comparison
equal
deleted
inserted
replaced
27590:cc44ec730954 | 27591:d91be28bbdbb |
---|---|
744 NULL | 744 NULL |
745 }; | 745 }; |
746 | 746 |
747 static int included_patches[] = | 747 static int included_patches[] = |
748 { /* Add new patch number below this line */ | 748 { /* Add new patch number below this line */ |
749 /**/ | |
750 4322, | |
749 /**/ | 751 /**/ |
750 4321, | 752 4321, |
751 /**/ | 753 /**/ |
752 4320, | 754 4320, |
753 /**/ | 755 /**/ |