diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-27 23:33:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-27 23:33:59 +0200 |
commit | 727345ebea07284ada118590d805329e6dbee014 (patch) | |
tree | 47a3df6d6e2267ac02b44fd08549a09d1bb76f9b | |
parent | 7a9cbca00a8ec53306f8a5852e332feb79091793 (diff) |
patch 8.2.1767: Vim9: test fails with python supportv8.2.1767
Problem: Vim9: test fails with python support.
Solution: Use "let" in legacy function.
-rw-r--r-- | src/testdir/test_vim9_func.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim index 7bc46d85ba..c9f902773b 100644 --- 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 diff --git a/src/version.c b/src/version.c index 7a2b4f81f8..8cfa149cc0 100644 --- 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, |