]> granicus.if.org Git - vim/commit
patch 8.2.2504: Vim9: crash when using an argument from a closure v8.2.2504
authorBram Moolenaar <Bram@vim.org>
Fri, 12 Feb 2021 20:50:57 +0000 (21:50 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 12 Feb 2021 20:50:57 +0000 (21:50 +0100)
commit44ec21c467ddf481b422c787324ea08f375f6942
treed9b948edd0083d64655119453b811fac1f85cc3f
parentd9d7789b6fe5f2b4074375ee9f1c0bad3e4d3cfe
patch 8.2.2504: Vim9: crash when using an argument from a closure

Problem:    Vim9: crash when using an argument from a closure.
Solution:   Check if gen_load_outer is NULL. (closes #7821)
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c