commit | c9c967da09d9faf5ba989c943352274fea365841 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Sep 07 16:48:46 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Sep 07 16:48:46 2022 +0100 |
tree | a072dd3a6d159560e012fc16615e4a849a0af8ff | |
parent | 1540d334a04d874c2aa9d26b82dbbcd4bc5a78de [diff] [blame] |
patch 9.0.0405: arguments in a partial not used by a :def function Problem: Arguments in a partial not used by a :def function. Solution: Put the partial arguments on the stack.
diff --git a/src/vim9.h b/src/vim9.h index 22a3f39..9d72b96 100644 --- a/src/vim9.h +++ b/src/vim9.h
@@ -759,3 +759,5 @@ #define TVTT_DO_MEMBER 1 #define TVTT_MORE_SPECIFIC 2 // get most specific type for member +// flags for call_def_function() +#define DEF_USE_PT_ARGV 1 // use the partial arguments