diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-12 17:06:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-12 17:06:05 +0200 |
commit | bd77aa92744d79f3ba69aee713739ec17da474f6 (patch) | |
tree | ffe1f2f98398d9be1ba2e05e0f57e72cd5c5ad55 /src/evalfunc.c | |
parent | 3e9c0b9608736e7d888f3141443f8754143364d7 (diff) |
patch 8.2.3334: Vim9: not enough tests run with Vim9v8.2.3334
Problem: Vim9: not enough tests run with Vim9.
Solution: Run a few more tests in Vim9 script and :def function. Fix
islocked(). Fix error for locking local variable.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index efda01fd04..b90c6d760d 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6556,7 +6556,8 @@ f_islocked(typval_T *argvars, typval_T *rettv) return; end = get_lval(tv_get_string(&argvars[0]), NULL, &lv, FALSE, FALSE, - GLV_NO_AUTOLOAD | GLV_READ_ONLY, FNE_CHECK_START); + GLV_NO_AUTOLOAD | GLV_READ_ONLY | GLV_NO_DECL, + FNE_CHECK_START); if (end != NULL && lv.ll_name != NULL) { if (*end != NUL) |