1
0
forked from aniani/vim

patch 8.2.2139: Vim9: unreachable code in assignment

Problem:    Vim9: unreachable code in assignment.
Solution:   Don't check "new_local" when "has_index" is set.  Add test for
            wrong type of list index.
This commit is contained in:
Bram Moolenaar
2020-12-13 18:44:43 +01:00
parent b5b9480ee9
commit acbae18df5
3 changed files with 14 additions and 4 deletions

View File

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