Patch 8.2.2659 (after 8.2.2658)
Problem:    Eval test fails because for loop on string works.
Solution:   Check looping over function reference fails.
Files:      src/testdir/test_eval_stuff.vim


*** ../vim-8.2.2658/src/testdir/test_eval_stuff.vim     2021-01-28 
20:18:04.800631715 +0100
--- src/testdir/test_eval_stuff.vim     2021-03-26 20:55:05.343032612 +0100
***************
*** 66,72 ****
  
  func Test_for_invalid()
    call assert_fails("for x in 99", 'E714:')
!   call assert_fails("for x in 'asdf'", 'E714:')
    call assert_fails("for x in {'a': 9}", 'E714:')
  
    if 0
--- 66,72 ----
  
  func Test_for_invalid()
    call assert_fails("for x in 99", 'E714:')
!   call assert_fails("for x in function('winnr')", 'E714:')
    call assert_fails("for x in {'a': 9}", 'E714:')
  
    if 0
*** ../vim-8.2.2658/src/version.c       2021-03-26 20:41:24.773620612 +0100
--- src/version.c       2021-03-26 20:56:16.878824452 +0100
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     2659,
  /**/

-- 
Now it is such a bizarrely improbable coincidence that anything as
mind-bogglingly useful as the Babel fish could have evolved purely by chance
that some thinkers have chosen to see it as a final and clinching proof of the
NON-existence of God.
The argument goes something like this: 'I refuse to prove that I exist,' says
God, 'for proof denies faith, and without faith I am nothing.'
'But,' says Man, 'the Babel fish is a dead giveaway, isn't it?  It could not
have evolved by chance.  It proves you exist, and so therefore, by your own
arguments, you don't.  QED.'
'Oh dear,' says God, 'I hadn't thought of that,' and promptly vanishes in a
puff of logic.
'Oh, that was easy,' says Man, and for an encore goes on to prove that black
is white and gets himself killed on the next pedestrian crossing.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202103261957.12QJvCll409703%40masaka.moolenaar.net.

Raspunde prin e-mail lui