From b8ce6b0005573139fd101dc703ed30360940401b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 23 Apr 2020 22:23:14 +0200 Subject: [PATCH] patch 8.2.0627: Vim9: error message does not work Problem: Vim9: error message does not work. (Yegappan Lakshmanan) Solution: Swap lines. --- src/userfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/userfunc.c b/src/userfunc.c index fa729bbe70..6005af1f59 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 181cfc05f7..6285766be1 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 627, /**/ 626, /**/