Patch 8.2.4435
Problem:    Dead code in checking map() arguments. (Dominique Pellé)
Solution:   Remove the first return statement. (closes #9815)
Files:      src/evalfunc.c


*** ../vim-8.2.4434/src/evalfunc.c      2022-02-21 13:13:44.923693160 +0000
--- src/evalfunc.c      2022-02-21 18:28:15.122724588 +0000
***************
*** 588,594 ****
                                    ? &t_any : expected_ret;
            if (args[0] == NULL)
                args[0] = &t_unknown;
-           return check_arg_type(&t_func_exp, type, context);
  
            where.wt_index = 2;
            return check_type(&t_func_exp, type, TRUE, where);
--- 588,593 ----
*** ../vim-8.2.4434/src/version.c       2022-02-21 17:56:29.621257234 +0000
--- src/version.c       2022-02-21 18:34:12.514270279 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4435,
  /**/

-- 
>From "know your smileys":
 O:-)   Saint

 /// 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/20220221183641.D2CC91C0FEC%40moolenaar.net.

Raspunde prin e-mail lui