commit | 58493cfae255adec2d5b407593b82d07abcc0975 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 06 12:23:30 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 06 12:23:30 2022 +0000 |
tree | 4c8505b32457d372dbf4d6a8291f3c469123900c | |
parent | 269dc6361888ca23ef8d87f2795753f0bacd95e6 [diff] [blame] |
patch 8.2.4016: Vim9: incorrect error for argument that is shadowing var Problem: Vim9: incorrect error for argument that is shadowing var. Solution: Ignore variable that is not in block where the function was defined.
diff --git a/src/version.c b/src/version.c index d331c87..dafef8e 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4016, +/**/ 4015, /**/ 4014,