]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3897: Vim9: second argument of map() and filter() not checked v8.2.3897
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Dec 2021 21:43:28 +0000 (21:43 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Dec 2021 21:43:28 +0000 (21:43 +0000)
commit1802405d71da20dff510690bf14f6da085836125
treeeb17c5e35f51aa31716d3222fd674d77b3629db7
parentdb8e5c21b98c5998df4ab94e0b94bd9fdaf35c83
patch 8.2.3897: Vim9: second argument of map() and filter() not checked

Problem:    Vim9: the second argument of map() and filter() is not checked at
            compile time.
Solution:   Add more specific type check for the second argument.
src/evalfunc.c
src/globals.h
src/list.c
src/testdir/test_vim9_builtin.vim
src/testdir/test_vim9_expr.vim
src/testdir/test_vim9_script.vim
src/version.c