To: vim_dev@googlegroups.com Subject: Patch 8.2.1767 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///