patch 8.2.2617: Vim9: script variable in block not found by function

Problem:    Vim9: script variable in a block scope not found by a nested
            function.
Solution:   Copy the block scope IDs before compiling the function.
This commit is contained in:
Bram Moolenaar
2021-03-17 18:42:08 +01:00
parent 3e1916947d
commit 8863bda25d
4 changed files with 38 additions and 16 deletions

View File

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