0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.2.3778: lambda debug test fails in some configurations

Problem:    Lambda debug test fails in some configurations.
Solution:   Check feature in a legacy function.
This commit is contained in:
Bram Moolenaar
2021-12-10 21:05:53 +00:00
parent 1daedc8381
commit 9537e37b11
2 changed files with 8 additions and 1 deletions

View File

@@ -4634,9 +4634,14 @@ def Test_xxx_echoerr_line_number()
CheckDefExecAndScriptFailure(lines, 'some error continued', 1)
enddef
def Test_debug_with_lambda()
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()

View File

@@ -753,6 +753,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3778,
/**/
3777,
/**/