Patch 8.2.1767
Problem:    Vim9: test fails with python support.
Solution:   Use "let" in legacy function.
Files:      src/testdir/test_vim9_func.vim


*** ../vim-8.2.1766/src/testdir/test_vim9_func.vim      2020-09-27 
22:47:01.880163387 +0200
--- src/testdir/test_vim9_func.vim      2020-09-27 23:32:56.709685187 +0200
***************
*** 831,837 ****
  " recognized.
  func Test_function_python()
    CheckFeature python3
!   var py = 'python3'
    execute py "<< EOF"
  def do_something():
    return 1
--- 831,837 ----
  " recognized.
  func Test_function_python()
    CheckFeature python3
!   let py = 'python3'
    execute py "<< EOF"
  def do_something():
    return 1
*** ../vim-8.2.1766/src/version.c       2020-09-27 22:47:01.884163380 +0200
--- src/version.c       2020-09-27 23:33:43.409561155 +0200
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     1767,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
7. You finally do take that vacation, but only after buying a USB modem
   and a laptop.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/202009272135.08RLZQRH266543%40masaka.moolenaar.net.

Raspunde prin e-mail lui