changeset 22437:7bd80999ea21 v8.2.1767

patch 8.2.1767: Vim9: test fails with python support Commit: https://github.com/vim/vim/commit/727345ebea07284ada118590d805329e6dbee014 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 27 23:33:59 2020 +0200 patch 8.2.1767: Vim9: test fails with python support Problem: Vim9: test fails with python support. Solution: Use "let" in legacy function.
author Bram Moolenaar <Bram@vim.org>
date Sun, 27 Sep 2020 23:45:03 +0200
parents d47843ead318
children 2c92548e5afd
files src/testdir/test_vim9_func.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -831,7 +831,7 @@ enddef
 " recognized.
 func Test_function_python()
   CheckFeature python3
-  var py = 'python3'
+  let py = 'python3'
   execute py "<< EOF"
 def do_something():
   return 1
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1767,
+/**/
     1766,
 /**/
     1765,