]> granicus.if.org Git - vim/commitdiff
patch 8.2.0627: Vim9: error message does not work v8.2.0627
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Apr 2020 20:23:14 +0000 (22:23 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Apr 2020 20:23:14 +0000 (22:23 +0200)
Problem:    Vim9: error message does not work. (Yegappan Lakshmanan)
Solution:   Swap lines.

src/userfunc.c
src/version.c

index fa729bbe70ddc55c1b0938106e597bf4ee5ec5dc..6005af1f5983ea936fa616db463ab48f32320b99 100644 (file)
@@ -2614,8 +2614,8 @@ ex_function(exarg_T *eap)
            }
            else
            {
-               ret_type = NULL;
                semsg(_("E1056: expected a type: %s"), ret_type);
+               ret_type = NULL;
            }
        }
     }
index 181cfc05f737da7d59aca6414aea736e77fd9a23..6285766be185ee0d7216a04bc4496fc27657e4ac 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    627,
 /**/
     626,
 /**/