]> granicus.if.org Git - vim/commit
patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambda v8.2.3195
authorBram Moolenaar <Bram@vim.org>
Wed, 21 Jul 2021 18:38:46 +0000 (20:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 21 Jul 2021 18:38:46 +0000 (20:38 +0200)
commitc4c5642513ac41b22b7772cc880c776c69e964c9
tree965a03640669df1b17441d048efc895fbe63d18c
parentcd9172077bc8c0aafddf2e5367cc0ae2c00c8ff7
patch 8.2.3195: Vim9: unclear error when passing too many arguments to lambda

Problem:    Vim9: unclear error when passing too many arguments to lambda.
Solution:   Pass the expression itself instead of "[expression]".
            (closes #8604)
src/testdir/test_vim9_func.vim
src/version.c
src/vim9compile.c