Problem: Lambda debug test fails in some configurations.
Solution: Check feature in a legacy function.
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()
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3778,
/**/
3777,
/**/