From: Bram Moolenaar Date: Thu, 23 Apr 2020 20:23:14 +0000 (+0200) Subject: patch 8.2.0627: Vim9: error message does not work X-Git-Tag: v8.2.0627 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8ce6b0005573139fd101dc703ed30360940401b;p=vim patch 8.2.0627: Vim9: error message does not work Problem: Vim9: error message does not work. (Yegappan Lakshmanan) Solution: Swap lines. --- 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 @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 627, /**/ 626, /**/