diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-15 17:19:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-15 17:19:37 +0100 |
commit | b46c083a5ed9e0c4ac5f3aec577946dcbe8c9dc5 (patch) | |
tree | f91c0168ac87183c5df558840b9cf920d18df558 /src/version.c | |
parent | 3735f11050616652525bf80b4fbcb2b3bfeab113 (diff) | |
download | vim-git-b46c083a5ed9e0c4ac5f3aec577946dcbe8c9dc5.tar.gz |
patch 9.0.0470: in :def function all closures in loop get the same variablesv9.0.0470
Problem: In a :def function all closures in a loop get the same variables.
Solution: When in a loop and a closure refers to a variable declared in the
loop, prepare for making a copy of variables for each closure.
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 8b4efd7db..3f832ad0c 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 470, +/**/ 469, /**/ 468, |