changeset 32890:277ac1fb33cc v9.0.1754

patch 9.0.1754: still Ci breakage (after 9.0.1741) Commit: https://github.com/vim/vim/commit/f244b2fbf2df7f984074c287b3d854bc62472b23 Author: LemonBoy <thatlemon@gmail.com> Date: Sat Aug 19 16:02:04 2023 +0200 patch 9.0.1754: still Ci breakage (after 9.0.1741) Problem: still ci breakage (after 9.0.1741) Solution: fix remaining issue Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: LemonBoy <thatlemon@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 16:15:03 +0200
parents 348f5331229e
children 2e54ae0568b0
files src/version.c src/vim9execute.c src/vim9type.c
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1754,
+/**/
     1753,
 /**/
     1752,
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -5451,8 +5451,8 @@ exec_instructions(ectx_T *ectx)
 		    {
 			where.wt_index = ct->ct_arg_idx;
 			where.wt_kind = ct->ct_is_var ? WT_VARIABLE : WT_ARGUMENT;
-			where.wt_func_name = ectx->ec_where.wt_func_name;
 		    }
+		    where.wt_func_name = ectx->ec_where.wt_func_name;
 		    r = check_typval_type(ct->ct_type, tv, where);
 		    if (r == FAIL)
 			goto on_error;
--- a/src/vim9type.c
+++ b/src/vim9type.c
@@ -682,8 +682,8 @@ check_typval_arg_type(
     {
 	where.wt_index = arg_idx;
 	where.wt_kind = WT_ARGUMENT;
-	where.wt_func_name = func_name;
     }
+    where.wt_func_name = func_name;
     return check_typval_type(expected, actual_tv, where);
 }