# HG changeset patch # User Bram Moolenaar # Date 1587673804 -7200 # Node ID c21a1d91f78d1b8953d69468bc1316c09ab7996f # Parent 07c83d9d2f2aa7d4dc046a2d23ac72c943ffde7a patch 8.2.0627: Vim9: error message does not work Commit: https://github.com/vim/vim/commit/b8ce6b0005573139fd101dc703ed30360940401b Author: Bram Moolenaar Date: Thu Apr 23 22:23:14 2020 +0200 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 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -2614,8 +2614,8 @@ ex_function(exarg_T *eap) } else { + semsg(_("E1056: expected a type: %s"), ret_type); ret_type = NULL; - semsg(_("E1056: expected a type: %s"), ret_type); } } } diff --git a/src/version.c b/src/version.c --- 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,