summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-23 22:23:14 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-23 22:23:14 +0200
commitb8ce6b0005573139fd101dc703ed30360940401b (patch)
treed3f6220a154ea98596013768d12aff64ee71d81e
parentf93c7fea084a99848d512ff2732041d4b41d93c8 (diff)
downloadvim-git-b8ce6b0005573139fd101dc703ed30360940401b.tar.gz
patch 8.2.0627: Vim9: error message does not workv8.2.0627
Problem: Vim9: error message does not work. (Yegappan Lakshmanan) Solution: Swap lines.
-rw-r--r--src/userfunc.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index fa729bbe7..6005af1f5 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -2614,8 +2614,8 @@ ex_function(exarg_T *eap)
}
else
{
- ret_type = NULL;
semsg(_("E1056: expected a type: %s"), ret_type);
+ ret_type = NULL;
}
}
}
diff --git a/src/version.c b/src/version.c
index 181cfc05f..6285766be 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 627,
+/**/
626,
/**/
625,