Mercurial > vim
comparison src/evalfunc.c @ 25595:c4e29355cd8b v8.2.3334
patch 8.2.3334: Vim9: not enough tests run with Vim9
Commit: https://github.com/vim/vim/commit/bd77aa92744d79f3ba69aee713739ec17da474f6
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 12 17:06:05 2021 +0200
patch 8.2.3334: Vim9: not enough tests run with Vim9
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 12 Aug 2021 17:15:04 +0200 |
parents | 4b07859e1646 |
children | df3d056b4663 |
comparison
equal
deleted
inserted
replaced
25594:174cf06af294 | 25595:c4e29355cd8b |
---|---|
6554 | 6554 |
6555 if (in_vim9script() && check_for_string_arg(argvars, 0) == FAIL) | 6555 if (in_vim9script() && check_for_string_arg(argvars, 0) == FAIL) |
6556 return; | 6556 return; |
6557 | 6557 |
6558 end = get_lval(tv_get_string(&argvars[0]), NULL, &lv, FALSE, FALSE, | 6558 end = get_lval(tv_get_string(&argvars[0]), NULL, &lv, FALSE, FALSE, |
6559 GLV_NO_AUTOLOAD | GLV_READ_ONLY, FNE_CHECK_START); | 6559 GLV_NO_AUTOLOAD | GLV_READ_ONLY | GLV_NO_DECL, |
6560 FNE_CHECK_START); | |
6560 if (end != NULL && lv.ll_name != NULL) | 6561 if (end != NULL && lv.ll_name != NULL) |
6561 { | 6562 { |
6562 if (*end != NUL) | 6563 if (*end != NUL) |
6563 { | 6564 { |
6564 semsg(_(lv.ll_name == lv.ll_name_end | 6565 semsg(_(lv.ll_name == lv.ll_name_end |