summaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-08 21:38:50 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-08 21:38:50 +0200
commitc967d57aa9a6bede0f50c6986dcddc1dc035a354 (patch)
tree7b4830d81fc898ceda58a5e5372eb8df97adadf7 /src/eval.c
parentf055d4502365f24de6c0f210a06e2c146a75dc4d (diff)
patch 8.2.3129: Vim9: imported uninitialized list does not get type checkedv8.2.3129
Problem: Vim9: imported uninitialized list does not get type checked. Solution: Get type from imported variable.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 555cd38f23..e0f0816030 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -959,7 +959,7 @@ get_lval(
&& lp->ll_tv == &v->di_tv
&& ht != NULL && ht == get_script_local_ht())
{
- svar_T *sv = find_typval_in_script(lp->ll_tv, TRUE);
+ svar_T *sv = find_typval_in_script(lp->ll_tv);
// Vim9 script local variable: get the type
if (sv != NULL)