summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-17 21:13:28 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-17 21:13:28 +0000
commitb3d9ceed2bc96acb7a2388e138559df6282118af (patch)
tree53f7aa703114459868075a1d7e95d560e8860098
parent6389baa6691fde4ca56ec6243ed83322543df300 (diff)
downloadvim-git-b3d9ceed2bc96acb7a2388e138559df6282118af.tar.gz
patch 8.2.4125: completion tests failv8.2.4125
Problem: Completion tests fail. Solution: Disable error messages while dereferencing the function name.
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index df73ba1ae..bf65082e2 100644
--- 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;
diff --git a/src/version.c b/src/version.c
index 7657cf509..735b8f6f8 100644
--- 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,