]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1734: Vim9: cannot use a funcref for a closure twice v8.2.1734
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Sep 2020 19:57:23 +0000 (21:57 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Sep 2020 19:57:23 +0000 (21:57 +0200)
commit148ce7ae62e92ecf6487a4ba5902ddb7e699074b
treee1f2f8dff4615709b106e123a1ce75d16d0558f7
parent4ee711f21389066fa157961feed17692fc16bf8e
patch 8.2.1734: Vim9: cannot use a funcref for a closure twice

Problem:    Vim9: cannot use a funcref for a closure twice.
Solution:   Instead of putting the funcref on the stack use a growarray on the
            execution context.
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_func.vim
src/version.c
src/vim9.h
src/vim9compile.c
src/vim9execute.c