]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2677: Vim9: cannot use only some of the default arguments v8.2.2677
authorBram Moolenaar <Bram@vim.org>
Mon, 29 Mar 2021 20:14:55 +0000 (22:14 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 29 Mar 2021 20:14:55 +0000 (22:14 +0200)
commit38a3bfa9a2931729a5e0c28dc087f745b68988ef
treec61f9b6770b18110e9c8f317a91235d88f8876cd
parent9ea7e55ab9eacbdcfde76627fdc070a9cb4d1d45
patch 8.2.2677: Vim9: cannot use only some of the default arguments

Problem:    Vim9: cannot use only some of the default arguments.
Solution:   Use v:none to use default argument value.  Remove
            uf_def_arg_idx[], use JUMP_IF_ARG_SET. (closes #6504)
runtime/doc/vim9.txt
src/structs.h
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_func.vim
src/userfunc.c
src/version.c
src/vim9.h
src/vim9compile.c
src/vim9execute.c