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:
@@ -4634,9 +4634,14 @@ def Test_xxx_echoerr_line_number()
|
|||||||
CheckDefExecAndScriptFailure(lines, 'some error continued', 1)
|
CheckDefExecAndScriptFailure(lines, 'some error continued', 1)
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_debug_with_lambda()
|
func Test_debug_with_lambda()
|
||||||
CheckRunVimInTerminal
|
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
|
var lines =<< trim END
|
||||||
vim9script
|
vim9script
|
||||||
def Func()
|
def Func()
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3778,
|
||||||
/**/
|
/**/
|
||||||
3777,
|
3777,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user