diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-29 22:14:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-29 22:14:55 +0200 |
commit | 38a3bfa9a2931729a5e0c28dc087f745b68988ef (patch) | |
tree | c61f9b6770b18110e9c8f317a91235d88f8876cd /src/structs.h | |
parent | 9ea7e55ab9eacbdcfde76627fdc070a9cb4d1d45 (diff) |
patch 8.2.2677: Vim9: cannot use only some of the default argumentsv8.2.2677
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)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index 75ad127810..f0296c1e31 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1607,8 +1607,6 @@ typedef struct type_T **uf_arg_types; // argument types (count == uf_args.ga_len) type_T *uf_ret_type; // return type garray_T uf_type_list; // types used in arg and return types - int *uf_def_arg_idx; // instruction indexes for evaluating - // uf_def_args; length: uf_def_args.ga_len + 1 partial_T *uf_partial; // for closure created inside :def function: // information about the context |