]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2325: Vim9: crash if map() changes the item type v8.2.2325
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 21:42:50 +0000 (22:42 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Jan 2021 21:42:50 +0000 (22:42 +0100)
commit75ab91ff3403e725a79ac9c7351b78e9aff71d67
tree624dae1f8aaeff2cfcd5aea7ac6aad5573835072
parent6f02b00bb0958f70bc15534e115b4c6dadff0e06
patch 8.2.2325: Vim9: crash if map() changes the item type

Problem:    Vim9: crash if map() changes the item type.
Solution:   Check that the item type is still OK. (closes #7652)
            Fix problem with mapnew() on range list.
src/evalfunc.c
src/list.c
src/proto/evalfunc.pro
src/testdir/test_vim9_builtin.vim
src/testdir/test_vim9_expr.vim
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c