patch 8.2.3857: Vim9: inconsistent error for using function()

Problem:    Vim9: inconsistent error for using function().
Solution:   Use a runtime type check for the result of function().
            (closes #8492)
This commit is contained in:
Bram Moolenaar
2021-12-20 09:36:27 +00:00
parent fea43e44c0
commit 2f9f4ccfc8
3 changed files with 68 additions and 14 deletions

View File

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