patch 9.0.1732: vimexpr: shadowing variable
Problem: vimexpr: shadowing variable
Solution: Rename local variable
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/vim9expr.c b/src/vim9expr.c
index db4cee1..0e466bd 100644
--- a/src/vim9expr.c
+++ b/src/vim9expr.c
@@ -1100,9 +1100,9 @@
if (!has_g_namespace && !is_autoload
&& compile_load(&p, namebuf + varlen, cctx, FALSE, FALSE) == OK)
{
- type_T *type = get_type_on_stack(cctx, 0);
+ type_T *s_type = get_type_on_stack(cctx, 0);
- res = generate_PCALL(cctx, argcount, namebuf, type, FALSE);
+ res = generate_PCALL(cctx, argcount, namebuf, s_type, FALSE);
goto theend;
}