]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4231: Vim9: map() gives type error when type was not declared v8.2.4231
authorBram Moolenaar <Bram@vim.org>
Thu, 27 Jan 2022 16:36:29 +0000 (16:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 27 Jan 2022 16:36:29 +0000 (16:36 +0000)
commit35c807df1f5774f09612d756ddc3cd5c44eacaca
tree5f591a6dd01925947e2e3c6e9c6e5a5ae8c3dc77
parent94373c48e7e438e5b924b34ce820e9b2eb9f810c
patch 8.2.4231: Vim9: map() gives type error when type was not declared

Problem:    Vim9: map() gives type error when type was not declared.
Solution:   Only check the type when it was declared, like extend() does.
            (closes #9635)
src/evalfunc.c
src/list.c
src/testdir/test_vim9_assign.vim
src/testdir/test_vim9_builtin.vim
src/version.c
src/vim9instr.c