1
0
forked from aniani/vim

patch 8.2.1396: Vim9: no error for unexpectedly returning a value

Problem:    Vim9: no error for unexpectedly returning a value.
Solution:   Only set the return type for lambda's.  Make using function type
            in a function reference work.
This commit is contained in:
Bram Moolenaar
2020-08-08 16:47:30 +02:00
parent 98b4f145eb
commit 5a849da57c
3 changed files with 56 additions and 14 deletions

View File

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