]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3895: Vim9: confusing error when using function() with a number v8.2.3895
authorBram Moolenaar <Bram@vim.org>
Sat, 25 Dec 2021 19:43:44 +0000 (19:43 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 25 Dec 2021 19:43:44 +0000 (19:43 +0000)
commitae1068afde6dfc6fd3e3f54512dbd089e1559053
treec684e064f5c464b4e275190bedff17cfea8d9d1a
parent223d0a6bc8dc68039ceb6660de9576fafe178d73
patch 8.2.3895: Vim9: confusing error when using function() with a number

Problem:    Vim9: confusing error when using function() with a number.
Solution:   Check for a function or string argument.
src/evalfunc.c
src/testdir/test_vim9_builtin.vim
src/version.c