]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4138: Vim9: no error for return with argument when invalid v8.2.4138
authorBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 18:46:07 +0000 (18:46 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 18 Jan 2022 18:46:07 +0000 (18:46 +0000)
commitef7aadbe36ad43a1b909f5f6c7e9b170ad62ef91
treea97150cc386a6fe634d987166c11d7bbf3c64576
parentd02dce2bb572f0e6b4570442e9cdbed14ef41820
patch 8.2.4138: Vim9: no error for return with argument when invalid

Problem:    Vim9: no error for return with argument when the function does not
            return anything.
Solution:   Give an error for the invalid argument. (issue #9497)
src/testdir/test_vim9_func.vim
src/version.c
src/vim9cmds.c