diff options
author | Christian Brabandt <cb@256bit.org> | 2023-08-17 23:34:09 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-17 23:41:33 +0200 |
commit | d5475e8d8dc250f19043b730c10a01b06f1c8040 (patch) | |
tree | 1326093fbd7e046c87c2f820245ab83b84f256c1 | |
parent | 6e940d9a1d4ff122aad1b0821c784a60b507d45c (diff) |
patch 9.0.1732: vimexpr: shadowing variablev9.0.1732
Problem: vimexpr: shadowing variable
Solution: Rename local variable
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9expr.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/version.c b/src/version.c index c20dedc0a5..dd8491b6d2 100644 --- 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 */ /**/ + 1732, +/**/ 1731, /**/ 1730, diff --git a/src/vim9expr.c b/src/vim9expr.c index db4cee1b16..0e466bd02c 100644 --- a/src/vim9expr.c +++ b/src/vim9expr.c @@ -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; } |