0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.2.3202: Vim9: tests are only executed for legacy script

Problem:    Vim9: tests are only executed for legacy script.
Solution:   Run more tests also for Vim9 script.  Fix uncovered problems.
This commit is contained in:
Bram Moolenaar
2021-07-22 18:48:53 +02:00
parent 2b59df00d8
commit 5dd839ce20
4 changed files with 127 additions and 39 deletions

View File

@@ -3451,7 +3451,8 @@ find_ex_command(
// "varname[]" is an expression.
*p == '['
// "varname.key" is an expression.
|| (*p == '.' && ASCII_ISALPHA(p[1]))))
|| (*p == '.' && (ASCII_ISALPHA(p[1])
|| p[1] == '_'))))
{
char_u *after = eap->cmd;