patch 8.2.2441: Vim9: extend() does not give an error for a type mismatch

Problem:    Vim9: extend() does not give an error for a type mismatch.
Solution:   Check the type of the second argument. (closes #7760)
This commit is contained in:
Bram Moolenaar
2021-01-31 17:48:30 +01:00
parent 853886722c
commit c03f5c677a
3 changed files with 46 additions and 23 deletions

View File

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