Patch 8.2.3778

6 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 10, 2021, 4:06:29 PM12/10/21
to vim...@googlegroups.com

Patch 8.2.3778
Problem: Lambda debug test fails in some configurations.
Solution: Check feature in a legacy function.
Files: src/testdir/test_vim9_script.vim


*** ../vim-8.2.3777/src/testdir/test_vim9_script.vim 2021-12-10 16:55:53.515240212 +0000
--- src/testdir/test_vim9_script.vim 2021-12-10 21:04:03.801304560 +0000
***************
*** 4634,4642 ****
CheckDefExecAndScriptFailure(lines, 'some error continued', 1)
enddef

! def Test_debug_with_lambda()
CheckRunVimInTerminal

var lines =<< trim END
vim9script
def Func()
--- 4634,4647 ----
CheckDefExecAndScriptFailure(lines, 'some error continued', 1)
enddef

! func Test_debug_with_lambda()
CheckRunVimInTerminal

+ " call indirectly to avoid compilation error for missing functions
+ call Run_Test_debug_with_lambda()
+ endfunc
+
+ def Run_Test_debug_with_lambda()
var lines =<< trim END
vim9script
def Func()
*** ../vim-8.2.3777/src/version.c 2021-12-10 20:39:12.315782187 +0000
--- src/version.c 2021-12-10 21:04:56.833365584 +0000
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 3778,
/**/

--
I have a drinking problem -- I don't have a drink!

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages