1
0
forked from aniani/vim

patch 8.2.4138: Vim9: no error for return with argument when invalid

Problem:    Vim9: no error for return with argument when the function does not
            return anything.
Solution:   Give an error for the invalid argument. (issue #9497)
This commit is contained in:
Bram Moolenaar
2022-01-18 18:46:07 +00:00
parent d02dce2bb5
commit ef7aadbe36
3 changed files with 21 additions and 7 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4138,
/**/
4137,
/**/