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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211210210622.CFA3A1C09BB%40moolenaar.net.

Raspunde prin e-mail lui