]> granicus.if.org Git - vim/commitdiff
patch 8.2.4125: completion tests fail v8.2.4125
authorBram Moolenaar <Bram@vim.org>
Mon, 17 Jan 2022 21:13:28 +0000 (21:13 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 17 Jan 2022 21:13:28 +0000 (21:13 +0000)
Problem:    Completion tests fail.
Solution:   Disable error messages while dereferencing the function name.

src/eval.c
src/version.c

index df73ba1aee3c677931a48cf3bfff5427e0ef807c..bf65082e275496cb69f182e0a4cd46c5d3a4c301 100644 (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;
 
index 7657cf5099532d6a4171deaf85ba23474a856fd8..735b8f6f81e515da1291bce9c245fe1b7ce9e0d9 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4125,
 /**/
     4124,
 /**/