0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.4125: completion tests fail

Problem:    Completion tests fail.
Solution:   Disable error messages while dereferencing the function name.
This commit is contained in:
Bram Moolenaar 2022-01-17 21:13:28 +00:00
parent 6389baa669
commit b3d9ceed2b
2 changed files with 4 additions and 0 deletions

View File

@ -709,7 +709,9 @@ call_vim_function(
// The name might be "import.Func" or "Funcref".
arg = func;
++emsg_off;
name = deref_function_name(&arg, &tofree, &EVALARG_EVALUATE, FALSE);
--emsg_off;
if (name == NULL)
name = func;

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4125,
/**/
4124,
/**/