]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1559: function argument types not always checked v9.0.1559
authorBram Moolenaar <Bram@vim.org>
Mon, 15 May 2023 15:22:38 +0000 (16:22 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 15 May 2023 15:22:38 +0000 (16:22 +0100)
commit2ba51236fb7c27fe16dad4c44242f00e17c19726
treec394d7f9f7ca93244bbb169a4c42c6e1870f385e
parenta2c0028fdf8dcf0408e27be730ac0e691ef9559b
patch 9.0.1559: function argument types not always checked

Problem:    Function argument types not always checked and using v:none may
            cause an error.
Solution:   Check argument types once the function type is known.  Do not give
            an error for using v:none as an argument. (closes #12200)
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c
src/vim9type.c