changeset 27193:fe3da8b63dfa v8.2.4125

patch 8.2.4125: completion tests fail Commit: https://github.com/vim/vim/commit/b3d9ceed2bc96acb7a2388e138559df6282118af Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 17 21:13:28 2022 +0000 patch 8.2.4125: completion tests fail Problem: Completion tests fail. Solution: Disable error messages while dereferencing the function name.
author Bram Moolenaar <Bram@vim.org>
date Mon, 17 Jan 2022 22:15:03 +0100
parents b0432adbe58e
children 421d345d0189
files src/eval.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -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;
 
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4125,
+/**/
     4124,
 /**/
     4123,