mirror of
https://github.com/vim/vim.git
synced 2025-08-22 19:27:53 -04:00
patch 8.2.2659: eval test fails because for loop on string works
Problem: Eval test fails because for loop on string works. Solution: Check looping over function reference fails.
This commit is contained in:
parent
74e54fcb44
commit
c61cb8bfe1
@ -66,7 +66,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_for_invalid()
|
func Test_for_invalid()
|
||||||
call assert_fails("for x in 99", 'E714:')
|
call assert_fails("for x in 99", 'E714:')
|
||||||
call assert_fails("for x in 'asdf'", 'E714:')
|
call assert_fails("for x in function('winnr')", 'E714:')
|
||||||
call assert_fails("for x in {'a': 9}", 'E714:')
|
call assert_fails("for x in {'a': 9}", 'E714:')
|
||||||
|
|
||||||
if 0
|
if 0
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2659,
|
||||||
/**/
|
/**/
|
||||||
2658,
|
2658,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user