1
0
forked from aniani/vim

patch 9.0.1732: vimexpr: shadowing variable

Problem: vimexpr: shadowing variable
Solution: Rename local variable

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-08-17 23:34:09 +02:00
parent 6e940d9a1d
commit d5475e8d8d
2 changed files with 4 additions and 2 deletions

View File

@@ -1100,9 +1100,9 @@ compile_call(
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;
}