summaryrefslogtreecommitdiffstats
path: root/src/vim9type.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9type.c')
-rw-r--r--src/vim9type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9type.c b/src/vim9type.c
index 1363a1c3e7..4c1693668a 100644
--- 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);
}