]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1023: Vim9: redefining a function uses a new index every time v8.2.1023
authorBram Moolenaar <Bram@vim.org>
Sat, 20 Jun 2020 16:19:09 +0000 (18:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 20 Jun 2020 16:19:09 +0000 (18:19 +0200)
commit0cb5bcf5836de83f7d64fb01d3ce708caacaf66c
treee8cb22c78547909952536f9d024e95d8fdcc3369
parent845e0ee59430eac07e74b6cb92020e420d17953d
patch 8.2.1023: Vim9: redefining a function uses a new index every time

Problem:    Vim9: redefining a function uses a new index every time.
Solution:   When redefining a function clear the contents and re-use the
            index.
src/eval.c
src/evalvars.c
src/proto/vim9compile.pro
src/structs.h
src/userfunc.c
src/version.c
src/vim9compile.c
src/vim9execute.c