commit | 0cdfb7ce462393595b0308dcabf343e82f05319d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Sep 17 15:44:52 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Sep 17 15:44:52 2022 +0100 |
tree | bce26a7c87ee0f99bc30006d3c0b02d813afc6da | |
parent | 8abb584ab85d5855d810d1c6e2b260f45ec839b7 [diff] [blame] |
patch 9.0.0485: in :def function all closures in loop get the same variables Problem: In a :def function all closures in a loop get the same variables. Solution: Make a copy of loop variables used in a closure.
diff --git a/src/version.c b/src/version.c index 3dd71af..2c9fac2 100644 --- a/src/version.c +++ b/src/version.c
@@ -704,6 +704,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 485, +/**/ 484, /**/ 483,