mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0480: Vim9: some code is not tested
Problem: Vim9: some code is not tested. Solution: Add more tests.
This commit is contained in:
@@ -2622,11 +2622,14 @@ compile_subscript(
|
||||
else
|
||||
{
|
||||
// method call: list->method()
|
||||
for (p = *arg; eval_isnamec1(*p); ++p)
|
||||
p = *arg;
|
||||
if (ASCII_ISALPHA(*p) && p[1] == ':')
|
||||
p += 2;
|
||||
for ( ; eval_isnamec1(*p); ++p)
|
||||
;
|
||||
if (*p != '(')
|
||||
{
|
||||
semsg(_(e_missing_paren), arg);
|
||||
semsg(_(e_missing_paren), *arg);
|
||||
return FAIL;
|
||||
}
|
||||
// TODO: base value may not be the first argument
|
||||
|
Reference in New Issue
Block a user