diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-07-08 21:38:50 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-08 21:38:50 +0200 |
commit | c967d57aa9a6bede0f50c6986dcddc1dc035a354 (patch) | |
tree | 7b4830d81fc898ceda58a5e5372eb8df97adadf7 /src/eval.c | |
parent | f055d4502365f24de6c0f210a06e2c146a75dc4d (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.c | 2 |
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) |