]> granicus.if.org Git - vim/commit
patch 8.2.4016: Vim9: incorrect error for argument that is shadowing var v8.2.4016
authorBram Moolenaar <Bram@vim.org>
Thu, 6 Jan 2022 12:23:30 +0000 (12:23 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 6 Jan 2022 12:23:30 +0000 (12:23 +0000)
commit58493cfae255adec2d5b407593b82d07abcc0975
tree4c8505b32457d372dbf4d6a8291f3c469123900c
parent269dc6361888ca23ef8d87f2795753f0bacd95e6
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.
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c